Get Column order from datatable (ColVis used) !
Get Column order from datatable (ColVis used) !
bousselham
Posts: 3Questions: 0Answers: 0
Hi All,
I've used ColVis to reorder my table column, but I want to save the order so I can display my table with the same order. Can anyone help out with this problem ?
Best Regards,
I've used ColVis to reorder my table column, but I want to save the order so I can display my table with the same order. Can anyone help out with this problem ?
Best Regards,
This discussion has been closed.
Replies
Allan
Best Regards,
Allan
we initialize dataTable ColReorder options by this lines :
"oColReorder": {
"aiOrder": [0,2,1,3]
},
I'm asking if there is a method to get the order (aiOrder) after reordering my column? I mad it by js code (loop the objects and accessing the appropriate fields), but this is not a good method...
Bousselham,