Is forceupdate mandatory selectionChange when we perform selection change on Grid.
Can i display selected/ deselected status as checked/unchecked without calling forceupdate .
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 23 Jul 2019, 10:42 AM
Hello, Mukesh,
The forceUpdate is needed, so the app is refreshed, but it can be refreshed with setState as well.
In general, the state has to be changed to reflect the newly selected items, but in our demos we used forceUpdate, to reduce the code size, so we can demonstrate the feature with cleaner code.
Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items