how to send custom order refreshing page at server side.

how to send custom order refreshing page at server side.

ShahidmohdShahidmohd Posts: 3Questions: 1Answers: 0

I am connected datatable to mysql via java. on page refresh or home page ajax call send a order.column=0 and order.dir=asc as a request is there anyway to change the column no. and ordering seq(asc/desc) as per our requirement.

Replies

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @Shahidmohd ,

    You can change the default ordering with order. If that's not what you're after, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.