From 54900d0145dfda07bde40dc6e1f0b31935b55444 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 17 Jan 2006 23:58:54 +0000
Subject:
---
.../protected/pages/Controls/DataGrid.page | 9 ++++++++
.../pages/Controls/Samples/TDataGrid/Sample1.page | 14 ++++++++++++
.../pages/Controls/Samples/TDataGrid/Sample1.php | 25 ++++++++++++++++++++++
3 files changed, 48 insertions(+)
create mode 100644 demos/quickstart/protected/pages/Controls/DataGrid.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.php
(limited to 'demos/quickstart/protected/pages')
diff --git a/demos/quickstart/protected/pages/Controls/DataGrid.page b/demos/quickstart/protected/pages/Controls/DataGrid.page
new file mode 100644
index 00000000..9170fe45
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/DataGrid.page
@@ -0,0 +1,9 @@
+
+
+TDataGrid
+
+TBC
+
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
new file mode 100644
index 00000000..5c24405e
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
@@ -0,0 +1,14 @@
+
+
+TDataGrid Sample 1
+
+
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.php b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.php
new file mode 100644
index 00000000..bf11b133
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.php
@@ -0,0 +1,25 @@
+'John','age'=>'31'),
+ array('name'=>'Bea','age'=>'35'),
+ array('name'=>'Rose','age'=>'33'),
+ array('name'=>'Diane','age'=>'37'),
+ array('name'=>'Bob','age'=>'30'),
+ );
+ }
+
+ public function onLoad($param)
+ {
+ parent::onLoad($param);
+ $this->DataGrid->DataSource=$this->getDataSource();
+ $this->DataGrid->SelectedItemIndex=2;
+ $this->DataGrid->dataBind();
+ }
+}
+
+?>
\ No newline at end of file
--
cgit v1.2.3