horizontal scrollbar and column resizing when sScrollX option used

horizontal scrollbar and column resizing when sScrollX option used

vs72vs72 Posts: 2Questions: 0Answers: 0
edited March 2012 in General
Hi all, I am using datatables v1.9 and i am encountering few problems.

1)I wanted a horizontal scrollbar to appear at top as well as bottom.(Currently it appears at top)
2)Resizing works when this addon (http://datatables.net/extras/thirdparty/ColReorderWithResize/) is used few columns. When there are more columns and horizontal scrollbar, resizing doesn't work as expected. Hope anyone can give hints to solve the problem!

Replies

  • vs72vs72 Posts: 2Questions: 0Answers: 0
    Anyone???
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    > 1)I wanted a horizontal scrollbar to appear at top as well as bottom.(Currently it appears at top)

    I'm not sure it is possible to do that in a web-browser?! I've never seen it done with a native component, although I might well be wrong. It is probably possible to use a bit of Javascript to put in place a "fake" scrollbar at both the top and bottom, but that's not part of DataTables core.

    > 2)Resizing works when this addon (http://datatables.net/extras/thirdparty/ColReorderWithResize/) is used few columns.

    I've afraid that sounds like a limitation of that particular plug-in. At some point I'll try to write an "official" plug-in for column resizing, but that's fairly low down the priority list at the moment. I'm afraid you might need to tinker with the code of the plug-in to get it working as required there.

    Allan
This discussion has been closed.