working with serverside ajax, I ended up having trouble with search and changing pages quickly!

working with serverside ajax, I ended up having trouble with search and changing pages quickly!

hossainbavihossainbavi Posts: 2Questions: 1Answers: 0

when i change pages quickly the data wont load(doesent change the page), but as i click on the page number or next/previous slowly, theres no problem at all! the same happens in search and sort!

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,302Questions: 26Answers: 4,769
    Answer ✓

    I would suspect that the server script might be slow in fetching the data.

    Does it fetch only the data for the page?

    Are you using a Datatables supplied server side processing script?

    Kevin

  • hossainbavihossainbavi Posts: 2Questions: 1Answers: 0
    edited February 2023

    well, it turns out it was a caching problem in the server side script and the data table works great as usual! Thanks!

Sign In or Register to comment.