ColumnReorderWithResize and ScrollY doesnt work together

ColumnReorderWithResize and ScrollY doesnt work together

darsheetsdarsheets Posts: 4Questions: 0Answers: 0
edited August 2012 in DataTables 1.9
I am using the ColumnReorderWithResize plugin and it works perfect. But when I add the ScrollY:200px to the datatable attributes, on resizing, the column headers get reordered but the column body doesnt align with the headers.

Replies

  • allanallan Posts: 63,397Questions: 1Answers: 10,451 Site admin
    Yup - and it probably never will I'm afraid. The ColumnReorderWidthResize plug-in relies upon the fact that the table is one HTML table in non-scrolling tables - moving whole columns. But because of the way DataTables separates the header , body and footer in scrolling tables, this no longer applies.

    At some point I hope to get a chance to write a supported plug-in for column resizing in DataTables that would include scrolling support, but I'm afraid I'd not yet had that chance, and it will likely be a little way off.

    Allan
This discussion has been closed.