summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
diff options
context:
space:
mode:
authorxue <>2006-02-03 07:06:11 +0000
committerxue <>2006-02-03 07:06:11 +0000
commitbaac41fc1e52c2902feabf778915195042b196b0 (patch)
treeda665febbd2a2faa320c9659cea243f323a4672c /demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
parent0efe2d3e9e02ada6fe297af823b90fa967de85df (diff)
Fixed an issue about style merging.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page25
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
new file mode 100644
index 00000000..c810708d
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
@@ -0,0 +1,25 @@
+<com:TContent ID="body">
+
+<h1>TDataGrid Sample 2</h1>
+<h2>Using Manually Specified Columns</h2>
+
+<com:TDataGrid
+ ID="DataGrid"
+ AutoGenerateColumns="false"
+ EnableViewState="false"
+ HeaderStyle.BackColor="silver"
+ ItemStyle.BackColor="lightblue"
+ ItemStyle.Font.Italic="true"
+ AlternatingItemStyle.BackColor="lightgreen">
+
+ <com:TBoundColumn
+ ItemStyle.BackColor="silver"
+ HeaderText="Name"
+ DataField="name"
+ />
+ <com:TCheckBoxColumn
+ HeaderText="Imported"
+ DataField="imported" />
+</com:TDataGrid>
+
+</com:TContent> \ No newline at end of file