ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Cancel Grid load request
Title:
B
I
{code}
?
Is there an efficient method to cancel the in-flight Load Grid call from the Client side if the server takes longer time to respond? I want to cancel the current in-flight request prior, if the user clicks on sort/paging/refresh button. I am currently using the following code to load the grid. $('#gridID').data('api').load({ params: {n1:v1, n2:v2} });
Save Changes
Cancel
Ren
asked at 10 May 2022
`load` returns a promise so you could call `.abort()`, note this will throw an error
at 10 May 2022
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK