ajax.reload() is not working.

ajax.reload() is not working.

jyd0228jyd0228 Posts: 30Questions: 11Answers: 0

I gave an event when I created a table and made a button. Reload the table once every three seconds.

But I have a problem.

taxReturnTable_user.ajax.reload(null, false);

If I use this code, for example, when I am on page 3, even if the table is reloaded, it should be on page 3, but what is the problem with initializing to page 1?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    The second option to ajax.reload() determines where paging is reset - see example here.

    Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.

    Cheers,

    Colin

  • jyd0228jyd0228 Posts: 30Questions: 11Answers: 0

    The location is the same even if the second option is false and true. "Processing": true, "serverSide": true, could there be a problem without?

    Adding those two options causes this error...




  • jyd0228jyd0228 Posts: 30Questions: 11Answers: 0

    This error message occurs.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.