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?
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.
OK, thanks.