columnReorder not working

columnReorder not working

gib65gib65 Posts: 29Questions: 13Answers: 0

hello,

I'm experimenting with the columnReorder property on the DataTable and it doesn't seem to be working.

First, I may have the wrong assumption: I'm assuming columnReorder: true, will allow the user to reorder the columns by dragging and dropping them. Is this true? If not, how can I achieve that effect? Otherwise, please have a look at my code and let me know if I'm doing anything wrong:

[code]

column 1 column 2
Row 1 Data 1 Row 1 Data 2
Row 2 Data 1 Row 2 Data 2
Row 2 Data 1 Row 2 Data 2
Row 2 Data 1 Row 2 Data 2
Row 2 Data 1 Row 2 Data 2
Row 2 Data 1 Row 2 Data 2
Row 2 Data 1 Row 2 Data 2
$(document).ready(function() { $("#JQuery_DataTable").DataTable({ paging: false, scrollX: true, scrollY: 300, columnReorder: true }); });

[/code]

Thanks.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.