fnSetColumnVis method is not working when colspan is present
fnSetColumnVis method is not working when colspan is present
kasu.praveen
Posts: 3Questions: 0Answers: 0
Hi
I tried to use "fnSetColumnVis" method for toggelling the visibility of columns, but that didn't worked out as my table is having column spanning (colspan). Did anybody tried this? Any solution to make it work?
I tried to use "fnSetColumnVis" method for toggelling the visibility of columns, but that didn't worked out as my table is having column spanning (colspan). Did anybody tried this? Any solution to make it work?
This discussion has been closed.
Replies
I'm sorry to say that fnSetColumnVis does not currently support colspan and rowspan in headers due to the complexity of adding that support. I've put a note about this on the API page - thanks for the question so I could clarify that!
It is quite possible for support to be added through a plug-in API function (at some point fnSetColumnVis will become a plug-in itself - although probably not until 2.x!), it just needs the logic for doing the hiding an showing of elements with this added complexity.
Regards,
Allan