Datatables problem

Datatables problem

ivanjason22ivanjason22 Posts: 2Questions: 1Answers: 0

Hi I would like to ask if there is a way to make the loading faster, I have more than a thousand of entries and it is getting slow on loading. I am new to web development any help would be great.

I am using xampp for my server in my local pc.

Answers

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    This FAQ provides the options to help increase loading speed.

    Kevin

  • ivanjason22ivanjason22 Posts: 2Questions: 1Answers: 0

    Thanks for the immediate response, I seem having confusion, my datatable loads all the data at once and I think it is the culprit for loading 2k+ data in almost 20secs, I have no background on web devt and it was given to me as a challenge to because the previous developers already left. I think it is using json to load data. can you point me specifically which area or option should i look into, let's say for example is there a syntax that lets me load entries that are shown on the first page base on the pagination (10, 25 etc) then when clicking the next page it will just then load the next page or other stuffs many thanks

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951

    To enable server side paging with Datatables you will need to enable server side processing. Datatables provides some open source server side libraries you can use. This blog describes using these libraries.

    Kevin

Sign In or Register to comment.