From 97d5ad831a6003418562b7f44e9a08e562d88a0c Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 4 Feb 2006 23:32:21 +0000 Subject: Added an example of TDataGrid showing updating and deleting functionalities. --- demos/quickstart/protected/pages/Controls/DataGrid2.page | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/DataGrid2.page') diff --git a/demos/quickstart/protected/pages/Controls/DataGrid2.page b/demos/quickstart/protected/pages/Controls/DataGrid2.page index a40d3987..8039a738 100644 --- a/demos/quickstart/protected/pages/Controls/DataGrid2.page +++ b/demos/quickstart/protected/pages/Controls/DataGrid2.page @@ -4,9 +4,11 @@

Interacting with TDataGrid

-Besides the rich data presentation functionalities as demonstrated in previous section, TDataGrid is also highly user interactive. An import usage of TDataGrid is to use it for editting or deleting rows of data. The TEditCommandColumn is specically designed for this purpose. +Besides the rich data presentation functionalities as demonstrated in previous section, TDataGrid is also highly user interactive. An import usage of TDataGrid is editting or deleting rows of data. The TBoundColumn can adjust the associated cell presentation according to the mode of datagrid items. When an item is in browsing mode, the cell is displayed with a static text; when the item is in editting mode, a textbox is displayed to collect user inputs. TDataGrid provides TEditCommandColumn for switching item modes. In addition, TButtonColumn offers developers the flexibility of creating arbitrary buttons for various user interactions. +

+

+The following example shows how to make the previous book information table an interactive one. It allows users to edit and delete book items from the table. Two additional columns are used in the example to allow users interact with the datagrid: TEditCommandColumn and TButtonColumn.

-

Sorting

-- cgit v1.2.3