Is there any plugin available for DataTable 2.0.0 which can resize columns?
Is there any plugin available for DataTable 2.0.0 which can resize columns?
Tufail
Posts: 2Questions: 1Answers: 0
This is what my DataTable looks like and I need the feature to resize columns. I've found some plugins but they are not compatible with DataTable 2.0.0. I've also tried simple JavaScript code to implement the functionality but that didn't work for me.
Please help.
Thank you.
Answers
Not as far as I am aware. There were some third party ones for 1.x, but it is not something I've ever written an extension for, sorry.
Allan
Are you planning to do that, Allan?
It isn't on my agenda. Sorry.
Allan
Hi All.
I tried to use colResize extension too, and found one solution. I take this extension colResize and do one change in line 319:
--- that._tableHeaders = that._table.find("thead > tr:first-child > th");
+++ that._tableHeaders = that._table.find("colgroup > col");
and it work for me.
CSS(https://cdn.jsdelivr.net/gh/smasala/ColResize@v2.6.0/css/dataTables.colResize.css )