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

Reseting sort does not return to original data #1905

Open
juanpasolano opened this issue Mar 1, 2018 · 0 comments
Open

Reseting sort does not return to original data #1905

juanpasolano opened this issue Mar 1, 2018 · 0 comments

Comments

@juanpasolano
Copy link

Hi there.

Current behavior

When you apply a sorting column on the table and then use methods like table.reset() or table.cleanSort(). The sorting gets remove from the table headers but the data remains the same.

Expected behavior

When applying those methods the data should return to its original or initial state.

Demo

You can see a working demo at https://codesandbox.io/s/xr2m163xlp, the sorting is applied, then clear it and the data remains as the last sort.

Thank you very much

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

1 participant