ColReorderWithResize not working well with fixed headers.

ColReorderWithResize not working well with fixed headers.

kumar_2_dataTableskumar_2_dataTables Posts: 4Questions: 3Answers: 0

I am using jQuery Data tables for my requirement with fixed head and with below setups. Everything works fine. I added addition plug-in into my code for resizing the columns on the browsers by using ColReorderWithResize. But when I use this column resizing works fine but it is killing my 'scrollY and scrollX'. Any help on this situation ? I want to use both for my case.

$(document).ready(function() {
$('#myTable').DataTable( {
"scrollY": '82vh',
"scrollX": true,
"scrollCollapse": true,
paging: false,
searching: false,
bInfo: false,
"order": [[ 0, "desc" ]],
} );
});

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,824Questions: 1Answers: 10,131 Site admin

    Sorry, but ColReorderWithResize was a community developed plug-in that is years out of date and is not supported as part of the DataTables forums. I'm surprised it works with the latest version of DataTables at all!

    Allan

  • kumar_2_dataTableskumar_2_dataTables Posts: 4Questions: 3Answers: 0

    @allan: Its working but not with scrollY, scrollX.. I'm new to Data tables. Is there an alternative for 'ColReorderWithResize'.? I need column resizing functionality with datatables.

  • allanallan Posts: 61,824Questions: 1Answers: 10,131 Site admin
    Answer ✓

    No sorry. There is no column resizing plug-in for DataTables at this time.

    Allan

This discussion has been closed.