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
385
How to get the event after the grid is done for changes after the datasource is changed.
posted

Hi All,

I'm using UltraGrid (v7.3) and its group by rows.  We know that after we change the field for grouping,  the grid need to resort the groups to reflect the changes.  Now the problem is where to do the resort. Is there a event after the grid is done for datasource is changed? My dataSource is DataSet, I know the columnchanged is good way, any other?

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    If you change data in your data source, whatever that data source may be, then you need to trap for some event on the data source, not the grid. The data source is the trigger. So the grid doesn't expose any events to tell you that something in the data source changed - it would not make sense for the grid to do this - the grid responds to this event, it's not triggering it.

    So you will either need an event on the DataSet/DataTable, or you could fire your own event when your code changes the data.

Reply Children
No Data