ASPxClientGridViewContextMenuItemClickEventArgs.elementIndex Property
Returns the processed element index.
Declaration
elementIndex: number
Property Value
Type | Description |
---|---|
number | The element’s index. |
Remarks
The elementIndex property value is dependent upon the ASPxClientGridViewContextMenuItemClickEventArgs.objectType property value.
- For a row menu (the ASPxClientGridViewContextMenuItemClickEventArgs.objectType property is equal to ‘row’ or ‘grouprow’) the elementIndex property returns the current row visible index.
- For a column menu (the ASPxClientGridViewContextMenuItemClickEventArgs.objectType property is equal to ‘header’) the elementIndex property returns the current column index.
- For a footer and group panel menus (the ASPxClientGridViewContextMenuItemClickEventArgs.objectType property is equal to ‘footer’ or ‘grouppanel’), and for an empty row or column header (the ASPxClientGridViewContextMenuItemClickEventArgs.objectType property is equal to ‘emptyrow’ or ‘emptyheader’) the elementIndex property returns negative one (-1).
See Also