castle
castle copied to clipboard
Feature Request: Resizable columns
It would be nice to automatically resize columns to fit the column data. It would be nice to be able to manually resize columns.
I've kind of implemented manual resizing in this branch: https://github.com/chanon/castle/tree/custom-version
It kind of works, but the problem is there is a bug with getting it to remember the column widths properly that I couldn't fix and so dropped it. It uses 'colResizable': http://www.bacubacu.com/colresizable/
Posting in case someone wants to try to get it working.
The changes specific to resizable columns are in this commit https://github.com/chanon/castle/commit/d13c93d0eb29415c796008adfb65daaf48b6ac1e
An ideal version would also auto adjust initial column widths according to data.
And here: https://github.com/chanon/castle/tree/custom-version-2 is another alternative where I added a File/Fixed Table Layout toggle option which may result in better column widths.