Hi smartclient team,
We have a list grid hooked to a custom server data source (we have our own backend server handling sorting and filtering; local sorting and filtering is disabled). When the data is very dynamic (lots of changes) we see that when scrolling the list grid there are cases where sorting is not respected. Consider the following case:
1. View the list grid sorted by data creation timestamp. When the list is first viewed, a request is made with paging parameters (start row = 0 end row = 80).
2. Create a bunch of new data points (hence they should be the latest and at the top of the list)
3. Scroll down the list grid. As I scroll I get a fetch (start row = 80 end row = 160). This fetch contains some of new data points that were just created.
4. Now if I scroll back up, I will see the data that was fetched in step 1. (there is no new fetch happening). Hence I end up with a list that's sorted by creation time stamp but the sorting does not seem correct - see the attached image for example (newer data points are not above the older ones).
My question is: Is there any documentation describing the mechanism behind scroll based paging ?
We would probably need to have local sorting mirror the backend/server side sorting to somehow detect that data on the client is incorrectly sorted ?
Version: SmartClient Version: v9.1p_2015-03-26/Pro Development Only (built 2015-03-26)[/COLOR][/SIZE][/FONT]
Thanks
We have a list grid hooked to a custom server data source (we have our own backend server handling sorting and filtering; local sorting and filtering is disabled). When the data is very dynamic (lots of changes) we see that when scrolling the list grid there are cases where sorting is not respected. Consider the following case:
1. View the list grid sorted by data creation timestamp. When the list is first viewed, a request is made with paging parameters (start row = 0 end row = 80).
2. Create a bunch of new data points (hence they should be the latest and at the top of the list)
3. Scroll down the list grid. As I scroll I get a fetch (start row = 80 end row = 160). This fetch contains some of new data points that were just created.
4. Now if I scroll back up, I will see the data that was fetched in step 1. (there is no new fetch happening). Hence I end up with a list that's sorted by creation time stamp but the sorting does not seem correct - see the attached image for example (newer data points are not above the older ones).
My question is: Is there any documentation describing the mechanism behind scroll based paging ?
We would probably need to have local sorting mirror the backend/server side sorting to somehow detect that data on the client is incorrectly sorted ?
Version: SmartClient Version: v9.1p_2015-03-26/Pro Development Only (built 2015-03-26)[/COLOR][/SIZE][/FONT]
Thanks
Comment