Enable/Disable Fixed columns
Enable/Disable Fixed columns
adamtarshis
Posts: 9Questions: 0Answers: 0
Hi
We have a requirement to enable or disable the datatable fixedcolumn on a button click. Is there a way to handle the fixedcolumn plugin once it is applied on the datatable?
Detailed issue: We were creating nested datatables, but when we expand the sub table from parent, table created by fixedcolumn (on left side) is not getting resized/aligned.
Thanks.
We have a requirement to enable or disable the datatable fixedcolumn on a button click. Is there a way to handle the fixedcolumn plugin once it is applied on the datatable?
Detailed issue: We were creating nested datatables, but when we expand the sub table from parent, table created by fixedcolumn (on left side) is not getting resized/aligned.
Thanks.
This discussion has been closed.
Replies
Are you using fnOpen / fnClose with FixedColumns - I'm not sure how that would work, again because of the structure of the DOM. It might be possible with a full redraw, but I'm not sure to be honest.
Allan
I see a comment saying full redraw, do i need to destroy the datatable completely and redraw it?
Thanks.