DataTables – AJAX Server Side Procession - Sort Columns

DataTables – AJAX Server Side Procession - Sort Columns

posmykposmyk Posts: 2Questions: 1Answers: 0

Problem Video:
https://www.loom.com/share/f1ffbaeb648c4c07b636877c786d32fd?sharedAppSource=personal_library

Case:
We load data from Wordpress via Ajax and put them there. We want to sort columns up or down by percentage. Can you help us?

Answers

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

    When using server side processing the server script is expected to perform all the sorting, searching and paging functions. There is not an option to mix client side sorting with server side processing. In the video it looks like you have less than 4000 records. Maybe you don't need server side processing with 4000 records. Have you tried disabling server side processing to see if the performance is satisfactory?

    Kevin

  • posmykposmyk Posts: 2Questions: 1Answers: 0

    Hi Kevin,

    thank you. We got this test server with only 4000 users. On our live server we got a lot of more users and we will scale. What do you think? So we have to extend our ajax code in order to sort the data?

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

    This section of the FAQ should help, it discusses various techniques to improve performance,

    Cheers,

    Colin

Sign In or Register to comment.