Interface IItemDataRenderer
IItemDataRenderer interface.
IItemDataRenderer defines the interface that an item renderer needs to implement. Besides the getData Data property, a list item renderer also needs to provide getItemIndex ItemIndex and getItemType ItemType property.
- IItemDataRenderer implements IDataRenderer
Package: System\Web\UI\WebControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.1.0
Located at Web/UI/WebControls/TDataBoundControl.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.1.0
Located at Web/UI/WebControls/TDataBoundControl.php
public
integer
|
#
getItemIndex( )
Returns a value indicating the zero-based index of the item in the corresponding data control's item collection. If the item is not in the collection (e.g. it is a header item), it returns -1. |
public
|
#
setItemIndex( integer $value )
Sets the zero-based index for the item. If the item is not in the item collection (e.g. it is a header item), -1 should be used. |
public
|
|
public
|
getData(),
setData()
|