Refresh grid using datastore


#1

I am using the datastore and refresh the same every 2 seconds. I have binded the Grid with datastore using sync. It works fine, but the grid selection deselected every 2 seconds. I have achieved the same via UpdateFromXML using grid function, but it doesn’t deselect the grid. I would like to use the datastore only for the requirement, as it can server all data to any form withing the project. Any clue how to achieve it?.


#2

Functionality of updateFromXML can’t be recreated in case of datastore. Grid will fully reload data from datastore after each update, which is similar to grid.clearAll, grid.load calls.