Next button does not show sorted order
Next button does not show sorted order
Nico90
Posts: 18Questions: 7Answers: 0
Hello everyone,
I have a Datatable, every row has an action button where I can press edit, it opens a popup window where I can modify records and press next to see next row information data.
If I make a test and I sort for a column, for example name desc and then i press edit and next button, the records are not displayed like I sorted (name desc) but as default.
Is there a way that allows me to display data with next button like I sorted?
Thanks,
Nico
This discussion has been closed.
Answers
Without seeing the code, are you doing a
draw()
after the order change, with 'false' as the parameter?Hi @colin,
thanks for your answer, as I know we are now using ajax to load data and js and mysql. Could you pls provide me an example about what you mean?
Thanks,
Nico
Hi Nico,
Here's examples of Ajax data loads, and here to
draw()
. If it'nos working, it would probably be best if you could post a live example of your code demonstrating the problem.Cheers,
Colin