Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stateSave for reorder and resize not working #25

Open
ruby4mag opened this issue Aug 22, 2019 · 7 comments
Open

stateSave for reorder and resize not working #25

ruby4mag opened this issue Aug 22, 2019 · 7 comments

Comments

@ruby4mag
Copy link

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
Copy link
Owner

@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
Copy link

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
Copy link

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
Copy link
Owner

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

@tefod-zz
Copy link

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

I will try.

@tnthieu
Copy link

tnthieu commented Jan 13, 2021

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
Copy link

tefod-zz commented Jan 24, 2021

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants