Fixed Left Column and Expand/Collapse Row Functionality
Fixed Left Column and Expand/Collapse Row Functionality
Hello,
I have created a table with a fixed far left column. The table has expandable rows. When a row is expanded, it is not expanded within the fixed column, but is expanded within all the other columns. The fixed column remains unchanged. Datatable’s fixedColumn functionality is not properly working with the fnOpen() / fnClose() function. I used fnOpen() for expanding rows.
If I use fixedColumn.fnRedrawLayout() function after fnOpen() for redrawing layout, then fixedColumn functionality is not getting applied to that table. It will remain applicable for header part only.
Used js files -
dataTables.fixedColumns.js v. 3.0.2
jquery.dataTables.js v. 1.10.4
jquery.js v1.8.2