Draw function change order of columns in params

Draw function change order of columns in params

ZeBobo5ZeBobo5 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...

Answers

  • ZeBobo5ZeBobo5 Posts: 2Questions: 1Answers: 0

    Solution :
    - using preXhr.dt event and recreate params correctly

This discussion has been closed.