As far as I'm aware, this hasn't been implemented by anyone yet. It's very much something that I've been thinking about doing, and plan to do as a plug-in to DataTables in future, but unfortunately, just not found the time to do it yet.
I'd like this one as well. May I suggest a resize option to either wrap or nowrap the cell content on a resize that makes the column narrower than the content? Maybe even throw elipses (...) at the end of the content? I like to keep my row height the same for all rows when I can. hopefully, an option like this would still work with jEditable.
Elipses are a tricky thing - there is some discussion of how they can be used with DataTables in this forum, and I believe there is a callback function for them somewhere in one discussion (being quick atm...) - but in a perfect world they would be done by CSS. It's not a world of course, so it would need to be implemented in Javascript. I think it would be up to the developer to implement this elipses function with any plug-in which were to resize the column if that is what they wanted. But CSS would just be so much easier - webkit does it very well. Gecko not as well by now.
Simple column-resizing is easily done (though I'd only tested with firefox, since we force our customers to use that one). I had put a span inside each TH, then bind jquery-UIs resizable on that, with a callback-event function that replicates the width of the span on the TH. That works pretty well, but it might be a good idea to set a class on each TD, and set sizes there as well, using a JS-created node.
Replies
As far as I'm aware, this hasn't been implemented by anyone yet. It's very much something that I've been thinking about doing, and plan to do as a plug-in to DataTables in future, but unfortunately, just not found the time to do it yet.
Regards,
Allan
I'd like this one as well. May I suggest a resize option to either wrap or nowrap the cell content on a resize that makes the column narrower than the content? Maybe even throw elipses (...) at the end of the content? I like to keep my row height the same for all rows when I can. hopefully, an option like this would still work with jEditable.
Mike
Elipses are a tricky thing - there is some discussion of how they can be used with DataTables in this forum, and I believe there is a callback function for them somewhere in one discussion (being quick atm...) - but in a perfect world they would be done by CSS. It's not a world of course, so it would need to be implemented in Javascript. I think it would be up to the developer to implement this elipses function with any plug-in which were to resize the column if that is what they wanted. But CSS would just be so much easier - webkit does it very well. Gecko not as well by now.
Regards,
Allan
http://datatables.net/forums/discussion/8471/column-resize-plugin