Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81374

using ColReorder vs ColReorderWithResize

$
0
0
Two questions:
1) Do I need both libraries? I can not seem to find instructions on which libs to use.
2) I have tried each one and in both cases I am only able to move columns to after the last column and not back. If I use the resize I get the handle but the function does not work.

The table is initialized in the fnDrawCallback": function( oSettings ) that I have included in the .dataTable init. If it makes any difference, the table is in a tab.

Here are the init props.

$('#searchResultsTable').dataTable({
"iDisplayLength": 25,
"aLengthMenu": [[5, 25, 50, 100, -1], [5, 25, 50, 100, "All"]] ,
"bJQueryUI": true,
"bAutoWidth": true,
"aoColumnDefs" : [ {"bSearchable" : false, "bSortable" : false, "aTargets" : [ 0 , 7 , 8] } ],
"sPaginationType": "full_numbers",
"bDestroy": true,
"bProcessing": true,
"sDom": 'R<"H"lfr>t<"F"ip>',
"fnDrawCallback": function( oSettings ) { other stuff here }

I have no ability to provide a link to the page, but just looking for some ideas as to what I should look at.

Thanks.

Viewing all articles
Browse latest Browse all 81374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>