A
A
Anatoly2018-02-12 09:05:31
JavaScript
Anatoly, 2018-02-12 09:05:31

Is it possible to do ajax sorting of datatables?

Tell me, is it possible to do ajax sorting using datatables?
I need to speed up the construction of the table if it has a lot (just a lot) of records.
I'm interested in whether it is possible to transfer datatables completely to execution via ajax?
So that sorting can be transferred to the server side.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imhuman, 2018-02-12
@imhuman

You can, along with the request, throw custom data, pass the column name and sort direction to them. And on them already do selection from a DB. It's not clear what the question is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question