ASPxClientGridViewContextMenuEventArgs.index Property
In This Article
Identifies the grid element being right clicked by the user.
#Declaration
TypeScript
index: number
#Property Value
Type | Description |
---|---|
number | The index of the grid element being clicked by the user. |
#Remarks
The index property value is dependent upon the ASPxClientGridViewContextMenuEventArgs.objectType property value.
- For a row menu (the ASPxClientGridViewContextMenuEventArgs.objectType property is equal to ‘row’ or ‘grouprow’) the index property returns the current row visible index.
- For a column menu (the ASPxClientGridViewContextMenuEventArgs.objectType property is equal to ‘header’) the index property returns the current column index.
- For a footer and group panel menus (the ASPxClientGridViewContextMenuEventArgs.objectType property is equal to ‘footer’ or ‘grouppanel’), and for an empty row or column header (the ASPxClientGridViewContextMenuEventArgs.objectType property is equal to ‘emptyrow’ or ‘emptyheader’) the index property returns negative one (-1).
See Also