| 1 |
lars |
1 |
<com:TContent ID="body">
|
|
|
2 |
|
|
|
3 |
<h1>TTable Samples</h1>
|
|
|
4 |
|
|
|
5 |
<table class="sampletable">
|
|
|
6 |
|
|
|
7 |
<tr><td class="samplenote">
|
|
|
8 |
Table with default settings (looks empty):
|
|
|
9 |
</td><td class="sampleaction">
|
|
|
10 |
<com:TTable />
|
|
|
11 |
</td></tr>
|
|
|
12 |
|
|
|
13 |
<tr><td class="samplenote">
|
|
|
14 |
Table with rows and customized font, background image, etc.:
|
|
|
15 |
</td><td class="sampleaction">
|
|
|
16 |
<com:TTable
|
|
|
17 |
GridLines="Both"
|
|
|
18 |
CellSpacing="0"
|
|
|
19 |
CellPadding="2"
|
|
|
20 |
BackImageUrl=<%~backimage.gif%>
|
|
|
21 |
Caption="This is table caption"
|
|
|
22 |
CaptionAlign="Bottom">
|
|
|
23 |
<com:TTableRow BackColor="gray" ForeColor="white">
|
|
|
24 |
<com:TTableHeaderCell>header cell 1</com:TTableHeaderCell>
|
|
|
25 |
<com:TTableHeaderCell>header cell 2</com:TTableHeaderCell>
|
|
|
26 |
<com:TTableHeaderCell>header cell 3</com:TTableHeaderCell>
|
|
|
27 |
</com:TTableRow>
|
|
|
28 |
<com:TTableRow HorizontalAlign="Right">
|
|
|
29 |
<com:TTableCell Text="text">cell 1</com:TTableCell>
|
|
|
30 |
<com:TTableCell>cell 2</com:TTableCell>
|
|
|
31 |
<com:TTableCell BackColor="red">cell 3</com:TTableCell>
|
|
|
32 |
</com:TTableRow>
|
|
|
33 |
<com:TTableRow>
|
|
|
34 |
<com:TTableCell ForeColor="red">cell 4</com:TTableCell>
|
|
|
35 |
<com:TTableCell ColumnSpan="2" HorizontalAlign="Center">
|
|
|
36 |
cell 5
|
|
|
37 |
</com:TTableCell>
|
|
|
38 |
</com:TTableRow>
|
|
|
39 |
</com:TTable>
|
|
|
40 |
</td></tr>
|
|
|
41 |
|
|
|
42 |
<tr><td class="samplenote">
|
|
|
43 |
A dynamically created table:
|
|
|
44 |
</td><td class="sampleaction">
|
|
|
45 |
<com:TTable ID="Table" />
|
|
|
46 |
</td>
|
|
|
47 |
</tr>
|
|
|
48 |
|
|
|
49 |
</table>
|
|
|
50 |
|
|
|
51 |
<div class="last-modified">$Id: Home.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
|