summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TRepeater/RegionDisplay.tpl
blob: 0d0e46d34247f784ace821fc060d590db4ea5fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<tr>
<com:TTableCell ID="Cell"
	ForeColor="white"
	BackColor="<%# $this->ItemIndex%2 ? '#6078BF' : '#809FFF' %>"
	Text="<%#$this->Data['name'] %>"
	/>
<td>

<com:TRepeater ID="Repeater" OnItemCreated="itemCreated">
<prop:HeaderTemplate>
<table cellspacing="1">
</prop:HeaderTemplate>

<prop:ItemTemplate>
<com:TTableRow ID="Row">
  <com:TTableCell Width="70px">
    <%#$this->Data['name'] %>
  </com:TTableCell>
  <com:TTableCell Width="20">
    <%#$this->Data['age'] %>
  </com:TTableCell>
  <com:TTableCell Width="150px">
    <%#$this->Data['position'] %>
  </com:TTableCell>
</com:TTableRow>
</prop:ItemTemplate>

<prop:FooterTemplate>
</table>
</prop:FooterTemplate>
</com:TRepeater>

</td>
</tr>