I have a DataGridView that shows open and delivered orders and the data refreshes every 30 seconds. If the user is scrolled down looking at a recod, has a filter or sort all this is lost when the datasource gets refreshed.
What is the recommended way to refresh the data with out messing up what the user is looking at?
Thanks -Tim
Depends how you refresh the data. A reload will reload the grid. The Wisej datagrid is capable of updating single cells dynamically but there is an internal threshold (I believe is 32, not sure) where it decides that it’s more economical (traffic wise) to reload. You can also use the javascript calls directly:
https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.DataGrid.js
Look at setCellValue() and setCellValues() for bulk updates.
If you want to attach a sample I may be able to help more.
Please login first to submit.