Is there a reason why column widths don't automatically resize with the browser when using sScrollY?

Is there a reason why column widths don't automatically resize with the browser when using sScrollY?

sleekcodesleekcode Posts: 1Questions: 0Answers: 0
edited March 2012 in DataTables 1.9
I'm using the Scroller plugin and it'd be nice if I didn't have to set up fnAdjustColumnSizing callbacks for every table in my app.

Thanks!

Replies

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Its possible that I will put that in in future - the reason it isn't in at the moment is that it is quite an intensive thing to do (CPU wise), so a buffer could be implemented, or call it on every resize event, or possibly so other way. Its just a one liner to add that ability externally, hence why it isn't int he core. When I come up with an implementation that I'm happy with, I will put it in the core.

    Allan
This discussion has been closed.