how to use pagination more then 1000 records in a data table?

how to use pagination more then 1000 records in a data table?

jamujamu Posts: 20Questions: 11Answers: 0

i have more then 2000 records in my data base.
but the datatable show only 1000 records . how can i get my remaining data?

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947
    Answer ✓

    That would be up to the server script DB query. It may have some sort of filtering or limit in the query.

    Kevin

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

    Hi @jamu,

    The count is in the response when serverSide is enabled. The best bet would be take a look at the example here, and compare those values with yours. The full information is here.

    Cheers,

    Colin

  • jamujamu Posts: 20Questions: 11Answers: 0

    can you send me the example code

  • jamujamu Posts: 20Questions: 11Answers: 0

    thank your colin for ur example

  • jamujamu Posts: 20Questions: 11Answers: 0

    i want to get data form database. can you send me the example with database mysql?

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    The example Colin linked you to contains the code to get the data from a MySQL database. See the PHP source code here.

    Allan

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

    Hi @jamu ,

    If you look at that example I posted above, there's a tab called "Server Side Script", you can use that as a template.

    Cheers,

    Colin

  • jamujamu Posts: 20Questions: 11Answers: 0

    tq friends

This discussion has been closed.