fnSetColumnVis method is not working when colspan is present

fnSetColumnVis method is not working when colspan is present

kasu.praveenkasu.praveen Posts: 3Questions: 0Answers: 0
edited June 2010 in General
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?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi kasu.praveen,

    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
  • kasu.praveenkasu.praveen Posts: 3Questions: 0Answers: 0
    Thanks for the info allan
This discussion has been closed.