Draw function change order of columns in params
Draw function change order of columns in params
ZeBobo5
Posts: 2Questions: 1Answers: 0
Why my params are differents before and after the draw call ?
var params = $table.ajax.params();
$table.draw();
var params2 = $table.ajax.params();
The draw function recalculates the columns property, which I would not because index change between each call...
This discussion has been closed.
Answers
Solution :
- using preXhr.dt event and recreate params correctly