Bug: ColVis and sScrollX

Bug: ColVis and sScrollX

RockbRockb Posts: 97Questions: 0Answers: 0
edited July 2011 in Bug reports
For the oColVis-Function I've added "sScrollX": "100%".
In this case, the width is 100% and it has NO horizontal scrolling.
When I choose new ('til then unvisible) columns via oColVis
the horizontal scrolling appears. So far so good! :-)

BUT: If I'd like to change it back to standard (with rRestore or
manually) the horizontal scrolling doesn't disappear. And it's the
width like ALL columns are there.

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    First thing to check is if you are using the DataTables 1.8.2.dev nightly? There is a change that will likely effect this part of the code. Failing that, can you link us to an example, or can it be reproduced with certain steps in my examples?

    Allan
  • RockbRockb Posts: 97Questions: 0Answers: 0
    Yes, for sure DataTable 1.8.2 --- always the newest versions. The project is still in local progress, so now it's impossible to share a link to the table. What do you mean by telling you the steps? These parts are producing the issues (...I guess...):

    [code]"sScrollY": "300px",
    "sScrollX": "100%",
    "bScrollCollapse": true,[/code]

    and

    [code]"oColVis": { "buttonText": "columns", "aiExclude": [ 0,1,2,5,6,7,8,9,10 ], "bRestore": true, "sRestore": "Standard"},[/code]

    and (for example)

    [code]"aoColumns": [ { "sName": "FirstColumn", "bVisible": false },[/code]
This discussion has been closed.