Is it possible to allow the user to adjust column widths?
Is it possible to allow the user to adjust column widths?
Is it possible to allow the user to adjust column widths? I've scanned through the online examples, but it seems that the column widths are always set by DataTables, and are not adjustable by the end user. I ask because I want to use DataTables.Net to replace my antiquated ComponentArt:Grid controls, many of which have quite a lot of columns, often with quite wide data. In this situation ComponentArt Grids will truncate the data shown with an ellipsis ("..."), but allow the user to then adjust the column width if they want to see all the text for that column.
This question has an accepted answers - jump to answer
Answers
There is nothing built into Datatables to allow the user to resize the columns. A third party developer created a plugin called colResize which you can try. You will find posts on this forum with issues regarding its use but all issues need to go to the developer of the library.
Some alternatives might be:
column().visible()
. Or use the ColVis button. Here are some examples.Kevin