Click or drag to resize

BndGridCreateItem Method

Override the DataGrid's method so that the grid will use our BndDataGridItem class for the row objects. This allows us to add our own properties to each row.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected override DataGridItem CreateItem(
	int itemIndex,
	int dataSourceIndex,
	ListItemType itemType
)

Parameters

itemIndex
Type: SystemInt32
Passed through.
dataSourceIndex
Type: SystemInt32
Passed through.
itemType
Type: System.Web.UI.WebControlsListItemType
Passed through.

Return Value

Type: DataGridItem
A BndDataGridItem to be used as a row object in the grid.
See Also