jeffreydwalter / ColReorderWithResize

Column reordering and resizing plug-in for DataTables
http://www.datatables.net/
MIT License
42 stars 51 forks source link

stateSave for reorder and resize not working #25

Open ruby4mag opened 4 years ago

ruby4mag commented 4 years ago

Hello @jeffreydwalter ,

Thank for this plugin. It works fine except the stateSave part for me. Please see the fiddle below.

https://jsfiddle.net/t5L29opg/3/

It doesn't save the colorder and colSize. Please let me know if you need more information.

Thanks again ! -Mag

jeffreydwalter commented 4 years ago

@ruby4mag, I don't really understand what you were trying to show with the fiddle. Please take a look at the datatables documentation. That's where the state saving is done: https://datatables.net/examples/basic_init/state_save.html

rosaricla commented 4 years ago

Hi @ruby4mag and @jeffreydwalter ,

I am also trying to use stateSave with ColReorderWithResize, column reorder and resize works perfectly but its state is not saved when refreshing. Did you find the solution?

Thank you, Rosa

tefod-zz commented 3 years ago

Hi, that would be a great addon, allthough the author mentioned that he is not going to maintain/improve this plugin any further. @ruby4mag, @rosaricla Any updates on this topic?

jeffreydwalter commented 3 years ago

I don't use this plugin personally anymore, but I'm happy to accept pull requests.

tefod-zz commented 3 years ago

I don't use this plugin personally anymore, but I'm happy to accept pull requests.

I will try.

tnthieu commented 3 years ago

Hello @jeffreydwalter @tefod-zz

Could you tell me if you have any update for stateSaving for resize and reorder column?

Thank you very much for the excellent plugin

tefod-zz commented 3 years ago

Not yet. Saving the state (size and order) of remapped columns and loading them on table initialisation is principally not that hard.

But I stopped using column reordering, hence this affects the whole style on responsive table with hidden (child rows) columns. Together with searchPanes (if you use it) its getting a mass, if you reorder columns.

I am afraid, that there a some more than minor changes necessary in the DT libs for letting this work without breaking the design.

So, i have to do without it :)