Class TDataGridColumnCollection

Description

TDataGridColumnCollection class.

TDataGridColumnCollection represents a collection of data grid columns.

  • since: 3.0
  • version: $Id: TDataGrid.php 2211 2007-09-07 13:34:10Z xue $
  • author: Qiang Xue <qiang.xue@gmail.com>

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

TComponent
   |
   --TList
      |
      --TDataGridColumnCollection
Method Summary
TDataGridColumnCollection __construct (TDataGrid $owner)
void insertAt (integer $index, mixed $item)
Methods
Constructor __construct (line 2113)

Constructor.

  • access: public
TDataGridColumnCollection __construct (TDataGrid $owner)
  • TDataGrid $owner: the control that owns this collection.

Redefinition of:
TList::__construct()
Constructor.
getOwner (line 2121)
  • return: the control that owns this collection.
  • access: protected
TDataGrid getOwner ()
insertAt (line 2133)

Inserts an item at the specified position.

This overrides the parent implementation by inserting only TDataGridColumn.

  • access: public
  • throws: TInvalidDataTypeException if the item to be inserted is not a TDataGridColumn.
void insertAt (integer $index, mixed $item)
  • integer $index: the speicified position.
  • mixed $item: new item

Redefinition of:
TList::insertAt()
Inserts an item at the specified position.

Inherited Methods

Inherited From TList

TList::__construct()
TList::add()
TList::clear()
TList::contains()
TList::copyFrom()
TList::count()
TList::getCount()
TList::getIterator()
TList::getReadOnly()
TList::indexOf()
TList::insertAt()
TList::itemAt()
TList::mergeWith()
TList::offsetExists()
TList::offsetGet()
TList::offsetSet()
TList::offsetUnset()
TList::remove()
TList::removeAt()
TList::setReadOnly()
TList::toArray()

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()

Documentation generated on Mon, 21 Apr 2008 11:34:25 -0400 by phpDocumentor 1.3.0RC4