Change page Bug when using server side

Change page Bug when using server side

joytaxsolutionjoytaxsolution Posts: 4Questions: 2Answers: 0

I am using the server side, but the data does not change when I change the page.

I'm using node js, is there anything I need to set up here?

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Have you got the DataTables Ajax request sending a POST request? By default it will sent a GET request, but typically Editor will operate on POST body data (I see you are using router.all() to it will respond to the GET request, but it might not be seeing any client-side data).

    See lines 35-38 in the code below the table in this example for how to send a POST request from DataTables.

    Allan

  • joytaxsolutionjoytaxsolution Posts: 4Questions: 2Answers: 0

    Hello, allan

    If you look at the code below, I'm sending a POST request
    But I'm getting the same data when I change the page

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Can you show me the JSON return from the server for both the initial page and then also for the second page please?

    What you've shown me so far looks correct, so there must be some piece of information I'm missing. Even better would be if you can give me a link to a page showing the issue.

    Allan

Sign In or Register to comment.