Class TDataGrid

Description

Implements interfaces:

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.

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.
  • 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,
    1. <com:TDataGrid ...>
    2. <com:TBoundColumn .../>
    3. <com:TEditCommandColumn .../>
    4. </com:TDataGrid>
  • Manually created in code. Columns can be manipulated via the setColumns property of the datagrid. For example,
    1. $column=new TBoundColumn;
    2. $datagrid->Columns[]=$column;
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.

Located in /Web/UI/WebControls/TDataGrid.php (line 136)

TComponent
   |
   --TApplicationComponent
      |
      --TControl
         |
         --TWebControl
            |
            --TDataBoundControl
               |
               --TBaseDataList
                  |
                  --TDataGrid
Class Constant Summary
 CMD_CANCEL = 'Cancel'
 CMD_DELETE = 'Delete'
 CMD_EDIT = 'Edit'
 CMD_PAGE = 'Page'
 CMD_PAGE_NEXT = 'Next'
 CMD_PAGE_PREV = 'Previous'
 CMD_SELECT = 'Select'
 CMD_SORT = 'Sort'
 CMD_UPDATE = 'Update'
 IT_ALTERNATINGITEM = 'AlternatingItem'
 IT_EDITITEM = 'EditItem'
 IT_FOOTER = 'Footer'
 IT_HEADER = 'Header'
 IT_ITEM = 'Item'
 IT_PAGER = 'Pager'
 IT_SELECTEDITEM = 'SelectedItem'
 IT_SEPARATOR = 'Separator'
Method Summary
void addParsedObject (mixed $object)
void applyItemStyles ()
boolean bubbleEvent (TControl $sender, TEventParameter $param)
void buildNextPrevPager (TDataGridPager $pager, TPagedDataSource $dataSource)
void buildNumericPager (TDataGridPager $pager, TPagedDataSource $dataSource)
void buildPager (TDataGridPager $pager, TPagedDataSource $dataSource)
TDataGridItem createItem (integer $itemIndex, string $dataSourceIndex, mixed $itemType)
mixed createPagerButton (string $buttonType, boolean $enabled)
boolean getAllowPaging ()
boolean getAllowSorting ()
string getBackImageUrl ()
string getCaption ()
string getCaptionAlign ()
integer getCurrentPageIndex ()
integer getEditItemIndex ()
integer getPageCount ()
integer getPageSize ()
boolean getShowFooter ()
boolean getShowHeader ()
string getTagName ()
integer getVirtualItemCount ()
void loadState ()
void performDataBinding (Traversable $data)
void render (THtmlWriter $writer)
void renderBeginTag (THtmlWriter $writer)
void renderTable (THtmlWriter $writer)
void reset ()
void saveState ()
void setAllowCustomPaging (boolean $value)
void setAllowPaging (boolean $value)
void setAllowSorting (boolean $value)
void setAutoGenerateColumns (boolean $value)
void setBackImageUrl (string $value)
void setCaption (string $value)
void setCaptionAlign (string $value)
void setCurrentPageIndex (integer $value)
void setEditItemIndex (integer $value)
void setPageSize (integer $value)
void setSelectedItemIndex (integer $value)
void setShowFooter (boolean $value)
void setShowHeader (boolean $value)
void setVirtualItemCount (integer $value)
Methods
addParsedObject (line 203)

Adds objects parsed in template to datagrid.

Only datagrid columns are added into Columns collection.

  • access: public
void addParsedObject (mixed $object)
  • mixed $object: object parsed in template

Redefinition of:
TBaseDataList::addParsedObject()
No body content should be added to data list control.
applyItemStyles (line 1347)

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.

  • access: protected
void applyItemStyles ()
bubbleEvent (line 698)

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.

  • return: whether the event bubbling should stop here.
  • access: public
boolean bubbleEvent (TControl $sender, TEventParameter $param)

Redefinition of:
TControl::bubbleEvent()
This method responds to a bubbled event.
buildNextPrevPager (line 1190)

Builds a next-prev pager

  • access: protected
void buildNextPrevPager (TDataGridPager $pager, TPagedDataSource $dataSource)
buildNumericPager (line 1233)

Builds a numeric pager

  • access: protected
void buildNumericPager (TDataGridPager $pager, TPagedDataSource $dataSource)
buildPager (line 1151)

Builds the pager content based on pager style.

  • access: protected
void buildPager (TDataGridPager $pager, TPagedDataSource $dataSource)
createAutoColumns (line 1305)

Automatically generates datagrid columns based on datasource schema

  • access: protected
TDataGridColumnCollection createAutoColumns (TPagedDataSource $dataSource)
createItem (line 1088)

Creates a datagrid item instance based on the item type and index.

  • return: created data list item
  • access: protected
TDataGridItem createItem (integer $itemIndex, string $dataSourceIndex, mixed $itemType)
  • integer $itemIndex: zero-based item index
  • string $dataSourceIndex: item type, may be self::IT_HEADER, self::IT_FOOTER, self::IT_ITEM, self::IT_SEPARATOR, self::IT_ALTERNATINGITEM, self::IT_SELECTEDITEM, self::IT_EDITITEM.
createPagerButton (line 1170)

Creates a pager button.

  • return: the button instance
  • access: protected
mixed createPagerButton (string $buttonType, boolean $enabled)
  • string $buttonType: button type, LinkButton or PushButton
  • boolean $enabled: whether the button should be enabled
createStyle (line 244)

Creates a style object for the control.

This method creates a TTableStyle to be used by datagrid.

  • return: control style to be used
  • access: protected
TTableStyle createStyle ()

Redefinition of:
TBaseDataList::createStyle()
Creates a style object for the control.
getAllowCustomPaging (line 524)
  • return: whether the custom paging is enabled. Defaults to false.
  • access: public
boolean getAllowCustomPaging ()
getAllowPaging (line 540)
  • return: whether paging is enabled. Defaults to false.
  • access: public
boolean getAllowPaging ()
getAllowSorting (line 548)
  • return: whether sorting is enabled. Defaults to false.
  • access: public
boolean getAllowSorting ()
getAlternatingItemStyle (line 284)
  • return: the style for each alternating item
  • access: public
TTableItemStyle getAlternatingItemStyle ()
getAutoColumns (line 222)
  • return: automatically generated datagrid columns
  • access: public
TDataGridColumnCollection getAutoColumns ()
getAutoGenerateColumns (line 572)
  • return: whether datagrid columns should be automatically generated. Defaults to true.
  • access: public
boolean getAutoGenerateColumns ()
getBackImageUrl (line 255)
  • return: the URL of the background image for the datagrid
  • access: public
string getBackImageUrl ()
getBottomPager (line 419)
  • return: the pager displayed at the bottom of datagrid. It could be null if paging is disabled.
  • access: public
TDataGridPager getBottomPager ()
getCaption (line 362)
  • return: caption for the datagrid
  • access: public
string getCaption ()

Redefinition of:
TBaseDataList::getCaption()
getCaptionAlign (line 378)
  • return: datagrid caption alignment. Defaults to 'NotSet'.
  • access: public
string getCaptionAlign ()

Redefinition of:
TBaseDataList::getCaptionAlign()
getColumns (line 212)
  • return: manually specified datagrid columns
  • access: public
getCurrentPageIndex (line 588)
  • return: the zero-based index of the current page. Defaults to 0.
  • access: public
integer getCurrentPageIndex ()
getEditItem (line 480)
  • return: the edit item
  • access: public
TDataGridItem getEditItem ()
getEditItemIndex (line 494)
  • return: the zero-based index of the edit item in Items. A value -1 means no item is in edit mode.
  • access: public
integer getEditItemIndex ()
getEditItemStyle (line 310)
  • return: the style for edit item
  • access: public
TTableItemStyle getEditItemStyle ()
getFooter (line 403)
  • return: the footer item
  • access: public
TDataGridItem getFooter ()
getFooterStyle (line 336)
  • return: the style for footer
  • access: public
TTableItemStyle getFooterStyle ()
getHeader (line 395)
  • return: the header item
  • access: public
TDataGridItem getHeader ()
getHeaderStyle (line 323)
  • return: the style for header
  • access: public
TTableItemStyle getHeaderStyle ()
getItems (line 232)
  • return: datagrid item collection
  • access: public
getItemStyle (line 271)
  • return: the style for every item
  • access: public
TTableItemStyle getItemStyle ()
getPageCount (line 626)
  • return: number of pages of items available
  • access: public
integer getPageCount ()
getPagerStyle (line 349)
  • return: the style for pager
  • access: public
TDataGridPagerStyle getPagerStyle ()
getPageSize (line 607)
  • return: the number of rows displayed each page. Defaults to 10.
  • access: public
integer getPageSize ()
getSelectedItem (line 427)
  • return: the selected item, null if no item is selected.
  • access: public
TDataGridItem getSelectedItem ()
getSelectedItemIndex (line 441)
  • return: the zero-based index of the selected item in Items. A value -1 means no item selected.
  • access: public
integer getSelectedItemIndex ()
getSelectedItemStyle (line 297)
  • return: the style for selected item
  • access: public
TTableItemStyle getSelectedItemStyle ()
getShowFooter (line 672)
  • return: whether the footer should be displayed. Defaults to false.
  • access: public
boolean getShowFooter ()
getShowHeader (line 656)
  • return: whether the header should be displayed. Defaults to true.
  • access: public
boolean getShowHeader ()
getTagName (line 193)
  • return: tag name (table) of the datagrid
  • access: protected
string getTagName ()

Redefinition of:
TWebControl::getTagName()
Returns the tag name used for this control.
getTopPager (line 411)
  • return: the pager displayed at the top of datagrid. It could be null if paging is disabled.
  • access: public
TDataGridPager getTopPager ()
getVirtualItemCount (line 637)
  • return: virtual number of items in the grid. Defaults to 0, meaning not set.
  • access: public
integer getVirtualItemCount ()
initializeItem (line 1120)

Initializes a datagrid item and cells inside it

  • access: protected
void initializeItem (TDataGrid $item, TDataGridColumnCollection $columns)
loadState (line 896)

Loads item count information from viewstate.

This method is invoked right after control state is loaded.

  • access: public
void loadState ()

Redefinition of:
TControl::loadState()
This method is invoked right after the control has loaded its state.
onCancelCommand (line 757)

Raises OnCancelCommand event.

This method is invoked when a button control raises OnCommand event with cancel command name.

  • access: public
void onCancelCommand (TDataGridCommandEventParameter $param)
onDeleteCommand (line 768)

Raises OnDeleteCommand event.

This method is invoked when a button control raises OnCommand event with delete command name.

  • access: public
void onDeleteCommand (TDataGridCommandEventParameter $param)
onEditCommand (line 779)

Raises OnEditCommand event.

This method is invoked when a button control raises OnCommand event with edit command name.

  • access: public
void onEditCommand (TDataGridCommandEventParameter $param)
onItemCommand (line 789)

Raises OnItemCommand event.

This method is invoked when a button control raises OnCommand event.

  • access: public
void onItemCommand (TDataGridCommandEventParameter $param)
onItemCreated (line 822)

Raises OnItemCreated event.

This method is invoked right after a datagrid item is created and before added to page hierarchy.

  • access: public
void onItemCreated (TDataGridItemEventParameter $param)
onItemDataBound (line 844)

Raises OnItemDataBound event.

This method is invoked for each datagrid item after it performs databinding.

  • access: public
void onItemDataBound (TDataGridItemEventParameter $param)
onPageIndexChanged (line 854)

Raises OnPageIndexChanged event.

This method is invoked when current page is changed.

  • access: public
void onPageIndexChanged (TDataGridPageChangedEventParameter $param)
onPagerCreated (line 833)

Raises OnPagerCreated event.

This method is invoked right after a datagrid pager is created and before added to page hierarchy.

  • access: public
void onPagerCreated (TDataGridPagerEventParameter $param)
onSortCommand (line 800)

Raises OnSortCommand event.

This method is invoked when a button control raises OnCommand event with sort command name.

  • access: public
void onSortCommand (TDataGridSortCommandEventParameter $param)
onUpdateCommand (line 811)

Raises OnUpdateCommand event.

This method is invoked when a button control raises OnCommand event with update command name.

  • access: public
void onUpdateCommand (TDataGridCommandEventParameter $param)
performDataBinding (line 1015)

Performs databinding to populate data list items from data source.

This method is invoked by dataBind(). You may override this function to provide your own way of data population.

  • access: protected
void performDataBinding (Traversable $data)
  • Traversable $data: the bound data

Redefinition of:
TDataBoundControl::performDataBinding()
render (line 1499)

Renders the datagrid.

  • access: public
void render (THtmlWriter $writer)
  • THtmlWriter $writer: writer for the rendering purpose

Redefinition of:
TWebControl::render()
Renders the control.
renderBeginTag (line 1482)

Renders the openning tag for the datagrid control which will render table caption if present.

  • access: public
void renderBeginTag (THtmlWriter $writer)
  • THtmlWriter $writer: the writer used for the rendering purpose

Redefinition of:
TWebControl::renderBeginTag()
Renders the openning tag for the control (including attributes)
renderTable (line 1522)

Renders the tabular data.

  • access: protected
void renderTable (THtmlWriter $writer)
reset (line 948)

Clears up all items in the datagrid.

  • access: public
void reset ()
restoreGridFromViewState (line 961)

Restores datagrid content from viewstate.

  • access: protected
void restoreGridFromViewState ()
saveState (line 863)

Saves item count in viewstate.

This method is invoked right before control state is to be saved.

  • access: public
void saveState ()

Redefinition of:
TControl::saveState()
This method is invoked when control state is to be saved.
setAllowCustomPaging (line 532)
  • access: public
void setAllowCustomPaging (boolean $value)
  • boolean $value: whether the custom paging is enabled
setAllowPaging (line 556)
  • access: public
void setAllowPaging (boolean $value)
  • boolean $value: whether paging is enabled
setAllowSorting (line 564)
  • access: public
void setAllowSorting (boolean $value)
  • boolean $value: whether sorting is enabled
setAutoGenerateColumns (line 580)
  • access: public
void setAutoGenerateColumns (boolean $value)
  • boolean $value: whether datagrid columns should be automatically generated
setBackImageUrl (line 263)
  • access: public
void setBackImageUrl (string $value)
  • string $value: the URL of the background image for the datagrid
setCaption (line 370)
  • access: public
void setCaption (string $value)
  • string $value: caption for the datagrid

Redefinition of:
TBaseDataList::setCaption()
setCaptionAlign (line 387)
  • access: public
void setCaptionAlign (string $value)
  • string $value: datagrid caption alignment. Valid values include 'NotSet','Top','Bottom','Left','Right'.

Redefinition of:
TBaseDataList::setCaptionAlign()
setCurrentPageIndex (line 597)
  • access: public
  • throws: TInvalidDataValueException if the value is less than 0
void setCurrentPageIndex (integer $value)
  • integer $value: the zero-based index of the current page
setEditItemIndex (line 505)

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.

  • access: public
void setEditItemIndex (integer $value)
  • integer $value: the edit item index
setPageSize (line 616)
  • access: public
  • throws: TInvalidDataValueException if the value is less than 1
void setPageSize (integer $value)
  • integer $value: the number of rows displayed within a page
setSelectedItemIndex (line 453)

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.

  • access: public
void setSelectedItemIndex (integer $value)
  • integer $value: the selected item index
setShowFooter (line 680)
  • access: public
void setShowFooter (boolean $value)
  • boolean $value: whether the footer should be displayed
setShowHeader (line 664)
  • access: public
void setShowHeader (boolean $value)
  • boolean $value: whether the header should be displayed
setVirtualItemCount (line 646)
  • access: public
  • throws: TInvalidDataValueException if the value is less than 0
void setVirtualItemCount (integer $value)
  • integer $value: virtual number of items in the grid

Inherited Methods

Inherited From TBaseDataList

TBaseDataList::addParsedObject()
TBaseDataList::createStyle()
TBaseDataList::getCaption()
TBaseDataList::getCaptionAlign()
TBaseDataList::getCellPadding()
TBaseDataList::getCellSpacing()
TBaseDataList::getDataFieldValue()
TBaseDataList::getDataKeyField()
TBaseDataList::getDataKeys()
TBaseDataList::getGridLines()
TBaseDataList::getHorizontalAlign()
TBaseDataList::onSelectedIndexChanged()
TBaseDataList::setCaption()
TBaseDataList::setCaptionAlign()
TBaseDataList::setCellPadding()
TBaseDataList::setCellSpacing()
TBaseDataList::setDataKeyField()
TBaseDataList::setGridLines()
TBaseDataList::setHorizontalAlign()

Inherited From TDataBoundControl

TDataBoundControl::dataBind()
TDataBoundControl::dataSourceViewChanged()
TDataBoundControl::determineDataSource()
TDataBoundControl::ensureDataBound()
TDataBoundControl::getData()
TDataBoundControl::getDataMember()
TDataBoundControl::getDataSource()
TDataBoundControl::getDataSourceID()
TDataBoundControl::getDataSourceView()
TDataBoundControl::getInitialized()
TDataBoundControl::getIsDataBound()
TDataBoundControl::getRequiresDataBinding()
TDataBoundControl::getSelectParameters()
TDataBoundControl::getUsingDataSourceID()
TDataBoundControl::onDataBound()
TDataBoundControl::onDataSourceChanged()
TDataBoundControl::onInit()
TDataBoundControl::onPreRender()
TDataBoundControl::pagePreLoad()
TDataBoundControl::performDataBinding()
TDataBoundControl::setDataMember()
TDataBoundControl::setDataSource()
TDataBoundControl::setDataSourceID()
TDataBoundControl::setInitialized()
TDataBoundControl::setIsDataBound()
TDataBoundControl::setRequiresDataBinding()
TDataBoundControl::validateDataSource()

Inherited From TWebControl

TWebControl::addAttributesToRender()
TWebControl::copyBaseAttributes()
TWebControl::createStyle()
TWebControl::getAccessKey()
TWebControl::getBackColor()
TWebControl::getBorderColor()
TWebControl::getBorderStyle()
TWebControl::getBorderWidth()
TWebControl::getCssClass()
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::setForeColor()
TWebControl::setHeight()
TWebControl::setStyle()
TWebControl::setTabIndex()
TWebControl::setToolTip()
TWebControl::setWidth()

Inherited From TControl

TControl::__construct()
TControl::addedControl()
TControl::addParsedObject()
TControl::applyStyleSheetSkin()
TControl::autoBindProperty()
TControl::autoDataBindProperties()
TControl::bindProperty()
TControl::broadcastEvent()
TControl::broadcastEventInternal()
TControl::bubbleEvent()
TControl::clearChildState()
TControl::clearControlState()
TControl::clearNamingContainer()
TControl::clearViewState()
TControl::createChildControls()
TControl::createControlCollection()
TControl::createdOnTemplate()
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::getEnabled()
TControl::getEnableTheming()
TControl::getEnableViewState()
TControl::getHasAdapter()
TControl::getHasAttributes()
TControl::getHasControls()
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::setEnabled()
TControl::setEnableTheming()
TControl::setEnableViewState()
TControl::setID()
TControl::setPage()
TControl::setSkinID()
TControl::setTemplateControl()
TControl::setViewState()
TControl::setVisible()
TControl::traverseChildControls()
TControl::unbindProperty()
TControl::unloadRecursive()
TControl::unregisterObject()
TControl::__get()

Inherited From TApplicationComponent

TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()

Inherited From TComponent

TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Class Constants
CMD_CANCEL = 'Cancel' (line 157)
CMD_DELETE = 'Delete' (line 156)
CMD_EDIT = 'Edit' (line 154)
CMD_PAGE = 'Page' (line 159)
CMD_PAGE_NEXT = 'Next' (line 160)
CMD_PAGE_PREV = 'Previous' (line 161)
CMD_SELECT = 'Select' (line 153)

Command name that TDataGrid understands.

CMD_SORT = 'Sort' (line 158)
CMD_UPDATE = 'Update' (line 155)
IT_ALTERNATINGITEM = 'AlternatingItem' (line 145)
IT_EDITITEM = 'EditItem' (line 146)
IT_FOOTER = 'Footer' (line 142)
IT_HEADER = 'Header' (line 141)

datagrid item types

IT_ITEM = 'Item' (line 143)
IT_PAGER = 'Pager' (line 148)
IT_SELECTEDITEM = 'SelectedItem' (line 147)
IT_SEPARATOR = 'Separator' (line 144)

Inherited Constants

Inherited from TControl

Documentation generated on Sun, 04 Jun 2006 18:59:02 -0400 by phpDocumentor 1.3.0RC4