I want to hook to an event that tells me whenever the selection of the row changes in the grid.
It's working fine with the afteractiverow event.
But, when I set an empty datasource to the grid, the grid shows nothing of course, but the afteractiverow event does not get raised.
Is there another event better that this to use?
If the grid has a DataSource and an ActiveRow and then you set the grid's DataSource to a data source with no rows, then theoretically, the grid's ActiveRow should change from a row in the first data source to null. So I would think the event should fire at that point. If not, it might be a bug.
I'm going to forward this thread over to Infragistics Developer Support so they can look into it.
In the mean time, perhaps you can use the InitializeLayout event to refresh whatever you need. This event will fire any time the grid's DataSource is changed.
will the support team come to this thread and reply to the topic?