Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1560
AfterActiveRowChanged event or other events
posted

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?

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children