Modern example for resizing and reordering
Modern example for resizing and reordering
Hi all, In the last few days, I have tried a lot of plugins and guides in this forum on how to enable resizing and reordering.
most of the plugins (all in my tests) don't work on v2 and only work on v1, I found a guide and some hints on how to enable resizing but even that doesn't work on v2 because of the CSS changes done to data table in v2 (it's not just class names)
Is there an example or GitHub repo for a data table that has both resizing and reordering done? I would like to avoid using ag-grid as I have already done most of the stuff I need.
I appreciate any help you can provide.
Replies
Datatables doesn't provide an extension for resizing the columns. There are some older third party plugins but they probably haven't been updated for 2.0. You will need to contact the developer of the library you are trying to use.
The ColReorder extension works with 2.0. Here are some examples. You may need to use the latest version with 2.0. Use the Download Builder to get the compatible version.
If you have issues with ColReorder please provide a test case replicating the issues so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin