datatables.colResize icon indicating copy to clipboard operation
datatables.colResize copied to clipboard

Compatibility issue in DataTable 2.0.0

Open tufail-cedcommerce opened this issue 2 years ago • 4 comments

Hi @dhobi, @jstark518, @jqnatividad, @Javaman1138 and @hchiam, could you please upgrade this plugin so it can work with DataTable 2.0.0 too?

Thank you.

tufail-cedcommerce avatar Mar 22 '24 11:03 tufail-cedcommerce

I have been able to make minor modifications for it to work with 2.0 Please have a look and see if it helps.

jquery.dataTables.colResize.txt

rahul-katikineni avatar Mar 25 '24 08:03 rahul-katikineni

I have been able to make minor modifications for it to work with 2.0 Please have a look and see if it helps.

jquery.dataTables.colResize.txt

First of all thanks for the modification.

I've tried using it but it is only resizing the first two rows(this only happens when I don't reduce the number of columns). I need it to resize the complete column. I'm using Server-side processing(AJAX) for populating the data. The table has more than 40 columns. When I reduced the number of columns and tried to fit them into the screen it worked but as soon as we got the horizontal scroll bar(due to a large number of columns) then it stopped working.

I'm using this(scrollX: true) and the table is looking is like this. image

My table looks like this. image

Could you please help here @rahul-katikineni.

tufail-cedcommerce avatar Mar 28 '24 09:03 tufail-cedcommerce

Do we have any updates on this ? This is very helpful if it works with latest DataTable. Great feature by the way. Worth having it as part of the main github lib.

mvksages avatar Aug 07 '24 16:08 mvksages