This question is locked. New answers and comments are not allowed.
Hi folks,
I have a grid which has a custom toolbar template with a list of user types. The first one is "All Users" which gets used to load users in the grid. The load of all users is quite long, which is fine but, I'd like to cancel the grid binding ajax request if I decide to change the selected value on that user type list because right now, if I change it to a type of user which only has 4 users, the grid shows instantly 4 users in it but the previous ajax request is still loading and when it's finished, the grids is then bound to these users which, from a user standpoint, will be innacceptable and very confusing... Is there a way to cancel the previous request?
Thanks!
I have a grid which has a custom toolbar template with a list of user types. The first one is "All Users" which gets used to load users in the grid. The load of all users is quite long, which is fine but, I'd like to cancel the grid binding ajax request if I decide to change the selected value on that user type list because right now, if I change it to a type of user which only has 4 users, the grid shows instantly 4 users in it but the previous ajax request is still loading and when it's finished, the grids is then bound to these users which, from a user standpoint, will be innacceptable and very confusing... Is there a way to cancel the previous request?
Thanks!