Hi
I found this problem in UltraGrid when grouping by not populated column.
You can reproduce it in my sample app.
1. Click Populate - mind desc column is not populated
2. Group By Desc column
3. Click Generate Description
Expected:
to get as many group rows as distinct values in Desc column
Actual:
One group row.
This bug is holding us from releasing new applications to our clients, can you please let me know if it is possible to get patch version with fix for this issue?
Thanks
Krzysztof
At a glance that looks like a bug because I see you are correctly raising a property changed event when the values change. You might want to log an incident for this.
In the meantime, I expect removing the column from and then re-adding it to the SortedColumns collection after changing the cell values will work around the problem.
How do I log an incident?
Unfortunately this column has a live data feed, it will be too expensive to keep on removing and adding that column
Hi Krzysztof,
This is not a bug. The grid does not automatically re-group every time a value of a cell changes. This is intentional.
The reason is that if a user types into a cell, thereby changing the value, you don't necessarily want the row they are editing to move out from under them. It would be very jarring.
So, it's left to you to decide when the grid's groups and sorting should be refreshed. You do this by calling the SortedColumns.RefreshSort method on the band.
Hi Mike
Why is gird reacting on BindingList changes in any other case but not this?
This is not user editing cell but List changes.