From 42b59239cf0036ab096cc67ead335e3a81b1cdf4 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Thu, 31 Aug 2006 19:37:08 +0000
Subject: Added TDropDownListColumn.
---
.../pages/Controls/Samples/TDataGrid/Sample3.page | 28 ++++++++++------------
.../pages/Controls/Samples/TDataGrid/Sample3.php | 2 +-
2 files changed, 13 insertions(+), 17 deletions(-)
(limited to 'demos/quickstart/protected/pages/Controls/Samples')
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page
index 96affa4a..5fb19c6f 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample3.page
@@ -50,22 +50,18 @@
HeaderText="In-stock"
DataField="instock"
/>
-
-
-
-
-
- Parent->DataItem['rating'] %>
- ID="Rating">
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
PublisherColumn->TextBox->Text, // publisher
$item->PriceColumn->TextBox->Text, // price
$item->InStockColumn->CheckBox->Checked, // instock
- $item->RatingColumn->Rating->SelectedValue // rating
+ $item->RatingColumn->DropDownList->SelectedValue // rating
);
$this->DataGrid->EditItemIndex=-1;
$this->DataGrid->DataSource=$this->Data;
--
cgit v1.2.3