Server Side Processing and Search

Server Side Processing and Search

iordanougiannisiordanougiannis Posts: 7Questions: 3Answers: 1

I have successfuly used server side processing to populate a table and now I want to add searching.
I would like to ask, is searching handled by the backend, the database ?

Answers

  • kthorngrenkthorngren Posts: 21,301Questions: 26Answers: 4,946

    Searching is performed by the backend server code. Are you using the Datatables provided server scripts or something else?

    Kevin

  • iordanougiannisiordanougiannis Posts: 7Questions: 3Answers: 1

    I am using Django and Django Rest Framework.

  • kthorngrenkthorngren Posts: 21,301Questions: 26Answers: 4,946

    My suggestion would be to use client side processing unless you have thousands of records that cause performance issues. deferRender can help with page rendering speed but if the full set of data is slow with the ajax response then you will need Server Side Processing.

    This page discusses the parameters sent to the server and the expected responses when using Server Side Processing. Your Django scripts will need to handle searching and sorting.

    Kevin

This discussion has been closed.