Completed
Last Updated: 21 Jan 2020 11:42 by ADMIN
Danko
Created on: 24 Sep 2013 15:44
Category: Data Source
Type: Feature Request
23
Make DataSource immediately drop previous data fetch request when another one comes in
We need an option to make the datasource immediately drop the current in-flight data fetch request if another one comes in.

Currently, if the user clicks around several times in a row changing grid datasource parameters too quickly, several requests get fired off, but the grid waits for the very first request to complete before issuing the next one. This makes the user's wait time twice as long and also makes the grid content appear to switch back and forth as requests complete one after another. Very unpleasant effect.
3 comments
ADMIN
Alex Hajigeorgieva
Posted on: 21 Jan 2020 11:42

Hi,

This behaviour is implemented in the Kendo UI Grid with virtual scrolling:

https://demos.telerik.com/aspnet-mvc/grid/virtualization-remote-data

Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Imported User
Posted on: 26 Nov 2014 11:26
"user clicks around several times in a row changing grid datasource parameters" I would design a better UI that locked itself while performing requests or didn't apply changes until the user stopped changing things.

For example: 
We built a panel with all the filtering options on our campaign dashboard only when the user hit "Apply" did it go about doing anything with the server.

Sounds like you are applying each action as it's clicked ... that's just wasting server time and network network time rendering results that the user doesn't care about, hense the poor experience.

Also ...
If you have multiple datasources surely they are all ajax requesting their results on demand unless you use fetch prior to your binding call, could you not cache some fetch calls when the user isn't clicking on things?
Imported User
Posted on: 19 Sep 2014 15:11
DataSource should be able to abort a ajax request