Posted 25 December 2017, 8:48 pm EST
Hello
How can I get for cell or row selection the same behavior
as for cell editing, i. e. flex grid postpones updates?
Thanks
Best Regards,
Mark Nebrat
Forums Home / Wijmo / General Discussion
Posted by: mark.nebrat on 25 December 2017, 8:48 pm EST
Posted 25 December 2017, 8:48 pm EST
Hello
How can I get for cell or row selection the same behavior
as for cell editing, i. e. flex grid postpones updates?
Thanks
Best Regards,
Mark Nebrat
Posted 26 December 2017, 7:47 pm EST
Hi Mark,
If cell is in edit mode and selection changed to the different row, changes get committed. But if row is same only cell selection is changed pending changes do not get committed.
In Short, the pending changes get committed if row selection changed if cell was in edit mode ever for that row.
Please let us know your requirement in detail also when you would like to commit changes.
~Manish
Posted 26 December 2017, 11:25 pm EST
Hello Manish
We just want to stop the grid from being refreshed if any row is selected.
For example:
Every second a new row added to grid from websocket and grid was refreshed.
We want to stop the refresh if any row was selected.
Best Regards
Mark Nebrat
Posted 27 December 2017, 10:31 pm EST
Hi,
You may check if any row is selected or not also with if any row is in edit mode by FlexGrid’s editRange propety.
If the condition is true, do not call CollectionView/FlexGrid refresh method.
~Manish
Posted 28 December 2017, 3:19 am EST
Thanks