How to pass order to datatables before load

How to pass order to datatables before load

GianniDPCGianniDPC Posts: 3Questions: 3Answers: 0
edited June 2020 in Free community support

Hello,

Is it possible to pass the ordering to datables and then draw the table?

I need this because I have a configuration on my web application where the user is also able to specify whether the column should be ascending / descending.

Note that I am using server side datatables.

This question has an accepted answers - jump to answer

Answers

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

    You can specify the order as part of the initialisation, that should do it for you,

    Colin

This discussion has been closed.