I am changing some data in store but its not reflected to Grid without rendering. Is this possible to show new values modified in store without re-rendering the Grid because I am updating data in rowExpander widget and if I re-render the Grid, that row get collapsed and I want tit to be expanded.
Support Forum
Hi Himan,
If the values are not updated in the row-expander, you can always use the refreshOnRecordChange: true
https://bryntum.com/products/grid/docs/api/Grid/feature/RowExpander#config-refreshOnRecordChange config to re-render the row-expander. If that's not what you are looking for, can you share a runnable test case so we can run it and help you with a solution.
Regards
Ghous
If you just set a field value on a record it just updates the row containing the data that was changed. You can test that at https://bryntum.com/products/grid/examples/rowexpander-regions/
Go into the debugger and type:
grid.store.getAt(1).name = 'Fred Bloggs'
It will not change anything except that name cell:
The question is how are you changing some data in the store? Because just setting a field in a record is the way to do that, and that does an efficient UI update.