Hello. How can I determine the WebDataGrid cell index which was clicked?As I understand, it can be done by handling the events like CellSelectionChanged. But when I'm adding the CellSelectionChanged client event, it's not even fired.
Grid has CellClickAction="Row" RowSelectType="Single" selection behavior parameters.
Hi,
Let me know if you have further questions with this issue.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hello Hans,
The reason that the CellSelectionChanged event doesn’t fire in your scenario is that you have set CellCLickAction=”Row”. With this configuration, you don’t have selected cell, but you have selected row and the event RowSelectionChanged will fire. If you want to keep this configuration and still to be able to take the particular cell on which the user has clicked, in order to select the row, you should enable the activation behavior and subscribe for the ActiveCellChanged event. There you will have access to the cell like this:
eventArgs.getActiveCell()
Hope this helps.