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

Datatable coltoggle changes columns order. #311

Closed
velavoc opened this issue May 9, 2020 · 3 comments
Closed

Datatable coltoggle changes columns order. #311

velavoc opened this issue May 9, 2020 · 3 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@velavoc
Copy link

velavoc commented May 9, 2020

Could it be like in PrimeNG? Now if we remove a column from a table and then return it back to the table, it appears at the end of the table.

https://www.primefaces.org/primevue/showcase/#/datatable/coltoggle
https://primefaces.org/primeng/showcase/#/table/coltoggle

@velavoc velavoc changed the title Datatable coltoggle change columns order. Datatable coltoggle changes columns order. May 9, 2020
@cagataycivici cagataycivici added this to the 2.0.0-rc.1 milestone May 15, 2020
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label May 15, 2020
@cagataycivici cagataycivici self-assigned this May 15, 2020
@cagataycivici
Copy link
Member

Sure, we'll update the demo to keep the order.

@cagataycivici
Copy link
Member

e20a696

@JoJuhasz
Copy link

If you mix togglable and non-togglable columns and have non-togglable columns after togglable ones, the bug is still present.
For exemple, in the demo, if you want to keep the "code" column at the end of the row, this is not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants