diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page | 25 |
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 |