Details about my grid:
Kendo version 2014.2.716
Grid has the following features:Configured by Razor GridBuilder, loaded via ajax, no page size (grid scrolls internally), grouped, each row has an expandable detail row, and 6 monetary columns are aggregated, with aggregates shown in both the group footer and grid footer.
Problem: We want aggregates to update whenever you change a value in the grid.
Solution #1: Consensus seems to be to call e.sender.dataSource.fetch(); That worked, but had the following consequences:
(1) Clears dirty indicators in cells, (2) Clears any open detail rows, (3) Opens any collapsed groups.
We can solve all three of those problems manually, but it's getting to the point where I wonder if just manually updating the aggregates, for finding another way other than re-fetching would be a better solution than hacking the grid back to its pre-fetch state. What made it extra difficult is the rows and cells are all re-created, so it's not as easy as just tracking a list of dirty cells, and marking them dirty again; you'd have to track the rowid/cellindex pair, and find the equivalent new cells.
Does anyone have any suggestions?