Show: Delphi C++
Display Preferences

MidItems.TDataGrid

From XE2 API Documentation
Jump to: navigation, search

MidItems.TCustomDataGridMidItems.TXMLDisplayGroupMidItems.TWebControlGroupWebComp.TWebContainedContainerComponentSystem.Classes.TComponent
TDataGrid

Delphi

TDataGrid = class(TCustomDataGrid)

C++

class PASCALIMPLEMENTATION TDataGrid : public TCustomDataGrid

Properties

Type Visibility Source Unit Parent
class public
MidItems.pas
MidItems.hpp
MidItems MidItems

Description

TDataGrid generates an HTML table to display a dataset in an XML data packet.

Add TDataGrid to the Web items of a TDataForm component (or a layout group that is a child of a TDataForm component.) TDataGrid generates an HTML table that displays multiple records from a dataset as a set of rows and columns.

Each TDataGrid object maintains a list of Web items that generate the individual fields (columns) of the table. These Web items can be from the following classes: TTextColumn, TSelectOptionColumn, TTextAreaColumn, and TStatusColumn. You can bind the data grid to an XML data packet or dataset field within an XML data packet. The column Web items can then use that binding to determine the source of the data they display.

You can also use the properties of TDataGrid to affect the appearance of the generated table.

See Also

Personal tools
Previous Versions
Translations