On Selection Change Event for Grid

I want an event that fires when I change the grid selection even using click or arrow keys. Is there any event available to get selection change?

I have tried to use following events but somehow it is not working. Is this supported in dhtmlxgrid?

When I check in console, grid.selection does not have events property.

Please correct me if I am missing anything.


You can use the cellClick event of the grid instead of an event specific to the selection. When that event fires, you can perform actions on the selection object.

Ok, Thanks. Will try to manage using the same.