Posted 5 June 2019, 3:48 am ESTHello,
I'm running into an issue with setting a lot of data in a grouped grid with rows >10000.
Attached is a demo project. There is a C1FlexGrid, C1GroupPanel, and some buttons that change the data rows. The grid is loaded with 1000 rows of random data. The button changes the state of a cell in every row. When this button is pushed without any grouping, the changes are instantaneous. Furthermore, there are no cell changed events firing in this situation. After grouping on category, pressing the button takes a second and there are 2000 cell changed events fired.
This slow down isn't terrible until there's 10000+ rows. After that, it locks up for quite a while. I think there are other events fired beyond cell changed, but I believe those change events are what's slowing it down.
There is a workaround. If I take the grouping off the grid, change all the rows, then reapply the grouping, it works instantly. I think I can live with this work around, but it seems like a bug in the grid to me. Maybe I'm missing something simple and there's a way to do it without removing the GroupDescription every time.