Not sending get request.

Not sending get request.

sagar474sagar474 Posts: 4Questions: 0Answers: 0
edited March 2012 in General
I'm new to Data Tables plugin and i successful initialized it.
I displayed tables from server response as json string through php
the table is displayed correctly.

but problem is all rows of my table with out limit are loaded. and browser is not sending get requests to get up date from the server insded performing sorting and paging directly from browser.

but i observed from the example http://datatables.net/release-datatables/examples/server_side/server_side.html
it is sending get request and updating each time when i hit next prev or sorting buttons.

Thanks for all developers and contributors for the best plugin ever!

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Can you please run your table(s) through the DataTables debugger ( http://debug.datatables.net ) so I can see how you are initialising the table. I'm going to need a lot more information to be able to figure out what the problem might be!

    Allan
  • sagar474sagar474 Posts: 4Questions: 0Answers: 0
    yes I have done it:
    debug code is : ehirom
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Thanks.

    From that you haven't got server-side processing enabled, so it is doing client-side processing:

    You might want to read these parts of the documentation:
    http://datatables.net/usage/#data_sources
    http://datatables.net/usage/server-side

    Allan
  • sagar474sagar474 Posts: 4Questions: 0Answers: 0
    I fixed it but now the problem is

    "Showing 1 to NaN of NaN entries (filtered from NaN total entries)"

    and next and pre buttons are not working.
This discussion has been closed.