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
)
Protected Overrides Function CreateItem (
itemIndex As Integer,
dataSourceIndex As Integer,
itemType As ListItemType
) As DataGridItem
Parameters
- itemIndex
- Type: SystemInt32
Passed through. - dataSourceIndex
- Type: SystemInt32
Passed through. - itemType
- Type: System.Web.UI.WebControlsListItemType
Passed through.
Return Value
Type:
DataGridItemA BndDataGridItem to be used as a row object in the grid.
See Also