Class TDataGrid
TDataGrid class
TDataGrid represents a data bound and updatable grid control. To populate data into the datagrid, sets its DataSource to a tabular data source and call dataBind(). Each row of data will be represented by an item in the Items collection of the datagrid. An item can be at one of three states: browsing, selected and edit. The state determines how the item will be displayed. For example, if an item is in edit state, it may be displayed as a table row with input text boxes if the columns are of type TBoundColumn; and if in browsing state, they are displayed as static text. To change the state of an item, set EditItemIndex or SelectedItemIndex property. Each datagrid item has a TDataGridItem::getItemType which tells the position and state of the item in the datalist. An item in the header of the repeater is of type Header. A body item may be of either Item, AlternatingItem, SelectedItem or EditItem, depending whether the item index is odd or even, whether it is being selected or edited. A datagrid is specified with a list of columns. Each column specifies how the corresponding table column will be displayed. For example, the header/footer text of that column, the cells in that column, and so on. The following column types are currently provided by the framework, - TBoundColumn, associated with a specific field in datasource and displays the corresponding data.
- TEditCommandColumn, displaying edit/update/cancel command buttons
- TButtonColumn, displaying generic command buttons that may be bound to specific field in datasource.
- TDropDownListColumn, displaying a dropdown list when the item is in edit state
- THyperLinkColumn, displaying a hyperlink that may be bound to specific field in datasource.
- TCheckBoxColumn, displaying a checkbox that may be bound to specific field in datasource.
- TTemplateColumn, displaying content based on templates.
There are three ways to specify columns for a datagrid. - Automatically generated based on data source.
By setting AutoGenerateColumns to true,
a list of columns will be automatically generated based on the schema of the data source.
Each column corresponds to a column of the data.
- Specified in template. For example,
- Manually created in code. Columns can be manipulated via
the setColumns property of the datagrid. For example,
Note, automatically generated columns cannot be accessed via the Columns property. TDataGrid supports sorting. If the AllowSorting is set to true, a column with nonempty setSortExpression will have its header text displayed as a clickable link button. Clicking on the link button will raise OnSortCommand event. You can respond to this event, sort the data source according to the event parameter, and then invoke databind() on the datagrid to show to end users the sorted data. TDataGrid supports paging. If the AllowPaging is set to true, a pager will be displayed on top and/or bottom of the table. How the pager will be displayed is determined by the PagerStyle property. Clicking on a pager button will raise an OnPageIndexChanged event. You can respond to this event, specify the page to be displayed by setting CurrentPageIndex</b> property, and then invoke databind() on the datagrid to show to end users a new page of data. TDataGrid supports two kinds of paging. The first one is based on the number of data items in datasource. The number of pages PageCount is calculated based the item number and the PageSize property. The datagrid will manage which section of the data source to be displayed based on the CurrentPageIndex property. The second approach calculates the page number based on the VirtualItemCount property and the PageSize property. The datagrid will always display from the beginning of the datasource up to the number of PageSize data items. This approach is especially useful when the datasource may contain too many data items to be managed by the datagrid efficiently. When the datagrid contains a button control that raises an onCommand event, the event will be bubbled up to the datagrid control. If the event's command name is recognizable by the datagrid control, a corresponding item event will be raised. The following item events will be raised upon a specific command: - OnEditCommand, if CommandName=edit
- OnCancelCommand, if CommandName=cancel
- OnSelectCommand, if CommandName=select
- OnDeleteCommand, if CommandName=delete
- OnUpdateCommand, if CommandName=update
- onPageIndexChanged, if CommandName=page
- OnSortCommand, if CommandName=sort
Note, an OnItemCommand event is raised in addition to the above specific command events. TDataGrid also raises an OnItemCreated event for every newly created datagrid item. You can respond to this event to customize the content or style of the newly created item. Note, the data bound to the datagrid are reset to null after databinding. There are several ways to access the data associated with a datagrid row: the specified datagrid row and use the key to fetch the corresponding data from some persistent storage such as DB. - Save the data in viewstate and get it back during postbacks.
Constants Inherited From TControl |
AUTOMATIC_ID_PREFIX,
CLIENT_ID_SEPARATOR,
CS_CHILD_INITIALIZED,
CS_CONSTRUCTED,
CS_INITIALIZED,
CS_LOADED,
CS_PRERENDERED,
CS_STATE_LOADED,
ID_FORMAT,
ID_SEPARATOR,
IS_CHILD_CREATED,
IS_CREATING_CHILD,
IS_DISABLE_THEMING,
IS_DISABLE_VIEWSTATE,
IS_ID_SET,
IS_SKIN_APPLIED,
IS_STYLESHEET_APPLIED,
RF_ADAPTER,
RF_AUTO_BINDINGS,
RF_CHILD_STATE,
RF_CONTROLS,
RF_CONTROLSTATE,
RF_DATA_BINDINGS,
RF_EVENTS,
RF_NAMED_CONTROLS,
RF_NAMED_CONTROLS_ID,
RF_NAMED_OBJECTS,
RF_SKIN_ID,
|
Method Summary |
void
|
Adds objects parsed in template to datagrid.
|
protected
void
|
Applies styles to items, header, footer and separators.
|
boolean
|
This method overrides parent's implementation to handle onItemCommand event which is bubbled from TDataGridItem child controls.
|
protected
void
|
Builds a next-prev pager
|
protected
void
|
Builds a numeric pager
|
protected
void
|
Builds the pager content based on pager style.
|
protected
TDataGridColumnCollection
|
Automatically generates datagrid columns based on datasource schema
|
protected
TDataGridItem
|
Creates a datagrid item instance based on the item type and index.
|
protected
mixed
|
createPagerButton
( string $buttonType, boolean $enabled, string $text, string $commandName, string $commandParameter)
Creates a pager button.
|
protected
TTableStyle
|
Creates a style object for the control.
|
boolean
|
|
TTableItemStyle
|
|
TDataGridColumnCollection
|
|
boolean
|
|
string
|
|
TDataGridPager
|
|
string
|
|
TTableCaptionAlign
|
|
TDataGridColumnCollection
|
|
TDataGridItem
|
|
integer
|
|
TTableItemStyle
|
|
ITemplate
|
|
TDataGridItem
|
|
TTableItemStyle
|
|
TDataGridItem
|
|
TTableItemStyle
|
|
integer
|
|
TDataGridItemCollection
|
|
TTableItemStyle
|
|
TDataGridPagerStyle
|
|
TDataGridItem
|
|
integer
|
|
TTableItemStyle
|
|
boolean
|
|
boolean
|
|
TStyle
|
|
TStyle
|
|
TStyle
|
|
protected
string
|
|
TDataGridPager
|
|
protected
void
|
Initializes a datagrid item and cells inside it
|
void
|
Loads item count information from viewstate.
|
void
|
Raises OnCancelCommand event.
|
void
|
Raises OnDeleteCommand event.
|
void
|
Raises OnEditCommand event.
|
void
|
Raises OnItemCommand event.
|
void
|
Raises OnItemCreated event.
|
void
|
Raises OnItemDataBound event.
|
void
|
Raises OnPageIndexChanged event.
|
void
|
Raises OnPagerCreated event.
|
void
|
Raises OnSortCommand event.
|
void
|
Raises OnUpdateCommand event.
|
protected
void
|
Performs databinding to populate datagrid items from data source.
|
void
|
Renders the datagrid.
|
void
|
Renders the openning tag for the datagrid control which will render table caption if present.
|
protected
void
|
Renders the tabular data.
|
void
|
Clears up all items in the datagrid.
|
protected
void
|
Restores datagrid content from viewstate.
|
void
|
Saves item count in viewstate.
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
Edits an item by its index in getItems.
|
void
|
|
void
|
Selects an item by its index in getItems.
|
void
|
|
void
|
|
Methods Inherited From TBaseDataList |
TBaseDataList::createStyle(), TBaseDataList::getCellPadding(), TBaseDataList::getCellSpacing(), TBaseDataList::getDataFieldValue(), TBaseDataList::getDataKeyField(), TBaseDataList::getDataKeys(), TBaseDataList::getGridLines(), TBaseDataList::getHorizontalAlign(), TBaseDataList::onSelectedIndexChanged(), TBaseDataList::setCellPadding(), TBaseDataList::setCellSpacing(), TBaseDataList::setDataKeyField(), TBaseDataList::setGridLines(), TBaseDataList::setHorizontalAlign()
|
Methods Inherited From TDataBoundControl |
TDataBoundControl::createPagedDataSource(), TDataBoundControl::dataBind(), TDataBoundControl::dataSourceViewChanged(), TDataBoundControl::determineDataSource(), TDataBoundControl::ensureDataBound(), TDataBoundControl::getAllowCustomPaging(), TDataBoundControl::getAllowPaging(), TDataBoundControl::getCurrentPageIndex(), TDataBoundControl::getDataMember(), TDataBoundControl::getDataSource(), TDataBoundControl::getDataSourceID(), TDataBoundControl::getDataSourceView(), TDataBoundControl::getInitialized(), TDataBoundControl::getIsDataBound(), TDataBoundControl::getPageCount(), TDataBoundControl::getPageSize(), TDataBoundControl::getRequiresDataBinding(), TDataBoundControl::getSelectParameters(), TDataBoundControl::getUsingDataSourceID(), TDataBoundControl::getVirtualItemCount(), TDataBoundControl::onDataBound(), TDataBoundControl::onDataSourceChanged(), TDataBoundControl::onInit(), TDataBoundControl::onPreRender(), TDataBoundControl::pagePreLoad(), TDataBoundControl::setAllowCustomPaging(), TDataBoundControl::setAllowPaging(), TDataBoundControl::setCurrentPageIndex(), TDataBoundControl::setDataMember(), TDataBoundControl::setDataSource(), TDataBoundControl::setDataSourceID(), TDataBoundControl::setInitialized(), TDataBoundControl::setIsDataBound(), TDataBoundControl::setPageSize(), TDataBoundControl::setRequiresDataBinding(), TDataBoundControl::setVirtualItemCount(), TDataBoundControl::validateDataSource()
|
Methods Inherited From TWebControl |
TWebControl::addAttributesToRender(), TWebControl::clearStyle(), TWebControl::copyBaseAttributes(), TWebControl::createStyle(), TWebControl::getAccessKey(), TWebControl::getBackColor(), TWebControl::getBorderColor(), TWebControl::getBorderStyle(), TWebControl::getBorderWidth(), TWebControl::getCssClass(), TWebControl::getDisplay(), TWebControl::getFont(), TWebControl::getForeColor(), TWebControl::getHasStyle(), TWebControl::getHeight(), TWebControl::getStyle(), TWebControl::getTabIndex(), TWebControl::getTagName(), TWebControl::getToolTip(), TWebControl::getWidth(), TWebControl::render(), TWebControl::renderBeginTag(), TWebControl::renderContents(), TWebControl::renderEndTag(), TWebControl::setAccessKey(), TWebControl::setBackColor(), TWebControl::setBorderColor(), TWebControl::setBorderStyle(), TWebControl::setBorderWidth(), TWebControl::setCssClass(), TWebControl::setDisplay(), TWebControl::setForeColor(), TWebControl::setHeight(), TWebControl::setStyle(), TWebControl::setTabIndex(), TWebControl::setToolTip(), TWebControl::setWidth()
|
Methods Inherited From TControl |
TControl::addedControl(), TControl::addParsedObject(), TControl::addToPostDataLoader(), TControl::applyStyleSheetSkin(), TControl::autoBindProperty(), TControl::autoDataBindProperties(), TControl::bindProperty(), TControl::broadcastEvent(), TControl::bubbleEvent(), TControl::clearChildState(), TControl::clearControlState(), TControl::clearNamingContainer(), TControl::clearViewState(), TControl::convertUniqueIdToClientId(), TControl::createChildControls(), TControl::createControlCollection(), TControl::dataBind(), TControl::dataBindChildren(), TControl::dataBindProperties(), TControl::ensureChildControls(), TControl::findControl(), TControl::findControlsByID(), TControl::findControlsByType(), TControl::focus(), TControl::getAdapter(), TControl::getAllowChildControls(), TControl::getAttribute(), TControl::getAttributes(), TControl::getChildControlsCreated(), TControl::getClientID(), TControl::getControls(), TControl::getControlStage(), TControl::getControlState(), TControl::getCustomData(), TControl::getEnabled(), TControl::getEnableTheming(), TControl::getEnableViewState(), TControl::getHasAdapter(), TControl::getHasAttributes(), TControl::getHasChildInitialized(), TControl::getHasControls(), TControl::getHasInitialized(), TControl::getHasLoaded(), TControl::getHasLoadedPostData(), TControl::getHasPreRendered(), TControl::getID(), TControl::getNamingContainer(), TControl::getPage(), TControl::getParent(), TControl::getRegisteredObject(), TControl::getSkinID(), TControl::getSourceTemplateControl(), TControl::getTemplateControl(), TControl::getUniqueID(), TControl::getViewState(), TControl::getVisible(), TControl::hasAttribute(), TControl::initRecursive(), TControl::isDescendentOf(), TControl::isObjectRegistered(), TControl::loadRecursive(), TControl::loadState(), TControl::loadStateRecursive(), TControl::onDataBinding(), TControl::onInit(), TControl::onLoad(), TControl::onPreRender(), TControl::onUnload(), TControl::preRenderRecursive(), TControl::raiseBubbleEvent(), TControl::registerObject(), TControl::removeAttribute(), TControl::removedControl(), TControl::render(), TControl::renderChildren(), TControl::renderControl(), TControl::saveState(), TControl::saveStateRecursive(), TControl::setAdapter(), TControl::setAttribute(), TControl::setChildControlsCreated(), TControl::setControlStage(), TControl::setControlState(), TControl::setCustomData(), TControl::setEnabled(), TControl::setEnableTheming(), TControl::setEnableViewState(), TControl::setID(), TControl::setPage(), TControl::setSkinID(), TControl::setTemplateControl(), TControl::setViewState(), TControl::setVisible(), TControl::trackViewState(), TControl::traverseChildControls(), TControl::unbindProperty(), TControl::unloadRecursive(), TControl::unregisterObject(), TControl::__get()
|
Methods Inherited From TComponent |
TComponent::addParsedObject(), TComponent::attachEventHandler(), TComponent::canGetProperty(), TComponent::canSetProperty(), TComponent::createdOnTemplate(), TComponent::detachEventHandler(), TComponent::evaluateExpression(), TComponent::evaluateStatements(), TComponent::getEventHandlers(), TComponent::getSubProperty(), TComponent::hasEvent(), TComponent::hasEventHandler(), TComponent::hasProperty(), TComponent::raiseEvent(), TComponent::setSubProperty(), TComponent::__get(), TComponent::__set()
|
Method Details |
addParsedObject
public void addParsedObject |
(mixed $object ) |
Adds objects parsed in template to datagrid.
Datagrid columns are added into Columns collection.
Input |
mixed | $object | object parsed in template |
Output |
Exception |
|
applyItemStyles
protected void applyItemStyles |
() |
Applies styles to items, header, footer and separators.
Item styles are applied in a hierarchical way. Style in higher hierarchy will inherit from styles in lower hierarchy. Starting from the lowest hierarchy, the item styles include item's own style, ItemStyle, AlternatingItemStyle, SelectedItemStyle, and EditItemStyle. Therefore, if background color is set as red in ItemStyle, EditItemStyle will also have red background color unless it is set to a different value explicitly.
|
bubbleEvent
This method overrides parent's implementation to handle onItemCommand event which is bubbled from TDataGridItem child controls.
If the event parameter is TDataGridCommandEventParameter and the command name is a recognized one, which includes 'select', 'edit', 'delete', 'update', and 'cancel' (case-insensitive), then a corresponding command event is also raised (such as OnEditCommand). This method should only be used by control developers.
Input |
TControl | $sender | the sender of the event |
TEventParameter | $param | event parameter |
Output |
boolean
| whether the event bubbling should stop here. |
Exception |
|
buildNextPrevPager
Builds a next-prev pager
Input |
TDataGridPager | $pager | the container for the pager |
Output |
Exception |
|
buildNumericPager
Builds a numeric pager
Input |
TDataGridPager | $pager | the container for the pager |
Output |
Exception |
|
buildPager
Builds the pager content based on pager style.
Input |
TDataGridPager | $pager | the container for the pager |
Output |
Exception |
|
createAutoColumns
Automatically generates datagrid columns based on datasource schema
Input |
Traversable | $dataSource | data source bound to the datagrid |
Output |
Exception |
|
createItem
Creates a datagrid item instance based on the item type and index.
Input |
integer | $itemIndex | zero-based item index |
TListItemType | $dataSourceIndex | item type |
mixed | $itemType | |
Output |
TDataGridItem
| created data list item |
Exception |
|
createPagerButton
protected mixed createPagerButton |
(string $buttonType , boolean $enabled , string $text , string $commandName , string $commandParameter ) |
Creates a pager button.
Depending on the button type, a TLinkButton or a TButton may be created. If it is enabled (clickable), its command name and parameter will also be set. Derived classes may override this method to create additional types of buttons, such as TImageButton.
Input |
string | $buttonType | button type, either LinkButton or PushButton |
boolean | $enabled | whether the button should be enabled |
string | $text | caption of the button |
string | $commandName | CommandName corresponding to the OnCommand event of the button |
string | $commandParameter | CommandParameter corresponding to the OnCommand event of the button |
Output |
mixed
| the button instance |
Exception |
|
createStyle
Creates a style object for the control.
This method creates a TTableStyle to be used by datagrid.
|
getAllowSorting
public boolean getAllowSorting |
() |
Output |
boolean
| whether sorting is enabled. Defaults to false. |
Exception |
|
getAlternatingItemStyle
|
getAutoColumns
|
getAutoGenerateColumns
public boolean getAutoGenerateColumns |
() |
Output |
boolean
| whether datagrid columns should be automatically generated. Defaults to true. |
Exception |
|
getBackImageUrl
public string getBackImageUrl |
() |
Output |
string
| the URL of the background image for the datagrid |
Exception |
|
getBottomPager
Output |
TDataGridPager
| the pager displayed at the bottom of datagrid. It could be null if paging is disabled. |
Exception |
|
getCaption
public string getCaption |
() |
Output |
string
| caption for the datagrid |
Exception |
|
getCaptionAlign
Output |
TTableCaptionAlign
| datagrid caption alignment. Defaults to TTableCaptionAlign::NotSet. |
Exception |
|
getColumns
|
getEditItem
|
getEditItemIndex
public integer getEditItemIndex |
() |
Output |
integer
| the zero-based index of the edit item in Items. A value -1 means no item is in edit mode. |
Exception |
|
getEditItemStyle
|
getEmptyTemplate
Output |
ITemplate
| the template applied when no data is bound to the datagrid |
Exception |
|
getFooter
|
getFooterStyle
|
getHeader
|
getHeaderStyle
|
getItemCount
public integer getItemCount |
() |
Output |
integer
| number of items |
Exception |
|
getItems
|
getItemStyle
|
getPagerStyle
|
getSelectedItem
Output |
TDataGridItem
| the selected item, null if no item is selected. |
Exception |
|
getSelectedItemIndex
public integer getSelectedItemIndex |
() |
Output |
integer
| the zero-based index of the selected item in Items. A value -1 means no item selected. |
Exception |
|
getSelectedItemStyle
|
getShowFooter
public boolean getShowFooter |
() |
Output |
boolean
| whether the footer should be displayed. Defaults to false. |
Exception |
|
getShowHeader
public boolean getShowHeader |
() |
Output |
boolean
| whether the header should be displayed. Defaults to true. |
Exception |
|
getTableBodyStyle
public TStyle getTableBodyStyle |
() |
Output |
TStyle
| the style for tbody element, if any |
Exception |
|
getTableFootStyle
public TStyle getTableFootStyle |
() |
Output |
TStyle
| the style for tfoot element, if any |
Exception |
|
getTableHeadStyle
public TStyle getTableHeadStyle |
() |
Output |
TStyle
| the style for thead element, if any |
Exception |
|
getTagName
protected string getTagName |
() |
Output |
string
| tag name (table) of the datagrid |
Exception |
|
getTopPager
Output |
TDataGridPager
| the pager displayed at the top of datagrid. It could be null if paging is disabled. |
Exception |
|
initializeItem
Initializes a datagrid item and cells inside it
|
loadState
Loads item count information from viewstate.
This method is invoked right after control state is loaded.
|
onCancelCommand
Raises OnCancelCommand event.
This method is invoked when a button control raises OnCommand event with cancel command name.
|
onDeleteCommand
Raises OnDeleteCommand event.
This method is invoked when a button control raises OnCommand event with delete command name.
|
onEditCommand
Raises OnEditCommand event.
This method is invoked when a button control raises OnCommand event with edit command name.
|
onItemCommand
Raises OnItemCommand event.
This method is invoked when a button control raises OnCommand event.
|
onItemCreated
Raises OnItemCreated event.
This method is invoked right after a datagrid item is created and before added to page hierarchy.
|
onItemDataBound
Raises OnItemDataBound event.
This method is invoked for each datagrid item after it performs databinding.
|
onPageIndexChanged
Raises OnPageIndexChanged event.
This method is invoked when current page is changed.
|
onPagerCreated
Raises OnPagerCreated event.
This method is invoked right after a datagrid pager is created and before added to page hierarchy.
|
onSortCommand
Raises OnSortCommand event.
This method is invoked when a button control raises OnCommand event with sort command name.
|
onUpdateCommand
Raises OnUpdateCommand event.
This method is invoked when a button control raises OnCommand event with update command name.
|
performDataBinding
protected void performDataBinding |
(Traversable $data ) |
Performs databinding to populate datagrid items from data source.
This method is invoked by dataBind(). You may override this function to provide your own way of data population.
Input |
Traversable | $data | the bound data |
Output |
Exception |
|
render
Renders the datagrid.
Input |
THtmlWriter | $writer | writer for the rendering purpose |
Output |
Exception |
|
renderBeginTag
Renders the openning tag for the datagrid control which will render table caption if present.
Input |
THtmlWriter | $writer | the writer used for the rendering purpose |
Output |
Exception |
|
renderTable
Renders the tabular data.
|
reset
Clears up all items in the datagrid.
|
restoreGridFromViewState
protected void restoreGridFromViewState |
() |
Restores datagrid content from viewstate.
|
saveState
Saves item count in viewstate.
This method is invoked right before control state is to be saved.
|
setAllowSorting
public void setAllowSorting |
(boolean $value ) |
Input |
boolean | $value | whether sorting is enabled |
Output |
Exception |
|
setAutoGenerateColumns
public void setAutoGenerateColumns |
(boolean $value ) |
Input |
boolean | $value | whether datagrid columns should be automatically generated |
Output |
Exception |
|
setBackImageUrl
public void setBackImageUrl |
(string $value ) |
Input |
string | $value | the URL of the background image for the datagrid |
Output |
Exception |
|
setCaption
public void setCaption |
(string $value ) |
Input |
string | $value | caption for the datagrid |
Output |
Exception |
|
setCaptionAlign
Input |
TTableCaptionAlign | $value | datagrid caption alignment. Valid values include |
Output |
Exception |
|
setEditItemIndex
public void setEditItemIndex |
(integer $value ) |
Edits an item by its index in getItems.
Previously editting item will change to normal item state. If the index is less than 0, any existing edit item will be cleared up.
Input |
integer | $value | the edit item index |
Output |
Exception |
|
setEmptyTemplate
public void setEmptyTemplate |
(ITemplate $value ) |
Input |
ITemplate | $value | the template applied when no data is bound to the datagrid |
Output |
Exception |
throws | TInvalidDataTypeException if the input is not an ITemplate or not null. |
|
setSelectedItemIndex
public void setSelectedItemIndex |
(integer $value ) |
Selects an item by its index in getItems.
Previously selected item will be un-selected. If the item to be selected is already in edit mode, it will remain in edit mode. If the index is less than 0, any existing selection will be cleared up.
Input |
integer | $value | the selected item index |
Output |
Exception |
|
setShowFooter
public void setShowFooter |
(boolean $value ) |
Input |
boolean | $value | whether the footer should be displayed |
Output |
Exception |
|
setShowHeader
public void setShowHeader |
(boolean $value ) |
Input |
boolean | $value | whether the header should be displayed |
Output |
Exception |
|
Constant Details |
CMD_CANCEL
Type:
string
Value:
'Cancel'
|
CMD_DELETE
Type:
string
Value:
'Delete'
|
CMD_EDIT
Type:
string
Value:
'Edit'
|
CMD_PAGE
Type:
string
Value:
'Page'
|
CMD_PAGE_NEXT
Type:
string
Value:
'Next'
|
CMD_PAGE_PREV
Type:
string
Value:
'Previous'
|
CMD_SELECT
Command name that TDataGrid understands.
Type:
string
Value:
'Select'
|
CMD_SORT
Type:
string
Value:
'Sort'
|
CMD_UPDATE
Type:
string
Value:
'Update'
|
IT_ALTERNATINGITEM
Type:
string
Value:
'AlternatingItem'
|
IT_EDITITEM
Type:
string
Value:
'EditItem'
|
IT_FOOTER
Type:
string
Value:
'Footer'
|
IT_HEADER
datagrid item types
Type:
string
Value:
'Header'
Deprecated:
deprecated since version 3.0.4. Use TListItemType constants instead.
|
IT_ITEM
Type:
string
Value:
'Item'
|
IT_PAGER
Type:
string
Value:
'Pager'
|
IT_SELECTEDITEM
Type:
string
Value:
'SelectedItem'
|
IT_SEPARATOR
Type:
string
Value:
'Separator'
|
|