Problem with horizontal scroll when using fnShowHide

Problem with horizontal scroll when using fnShowHide

srinathsrinath Posts: 3Questions: 0Answers: 0
edited October 2011 in Bug reports
Hi,
i have a table which has 34 columns out of which only 12 are set visible and others can be made visible using FnShowHide function.Now 34 columns in a table is too ugly when its compressed within the default table with no scroll.So added a scroll which has ScrollXInner as 135%..this works fine enough to display neatly all 34 columns but the columns are too wide when the count of visibile columns is some 12 etc.

So i'm finding for a solution like there need not be a scroll by default and let the scroll get added when the no of visible columns exceeds the default value and get itself adjusted based on the no of columns made visible.

It will be helpful if Someone helps me fix it.

Replies

  • calebercaleber Posts: 7Questions: 0Answers: 0
    Try using fnSetColumnVis.... that function causes the x-scroll size to recalculate itself and adjust to the new size.
  • srinathsrinath Posts: 3Questions: 0Answers: 0
    yes. I am using that function only to make the columns visible..but the scroll is not adjusted
This discussion has been closed.