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

cellCompare / sorting does not work if a cellTemplate is present #396

Open
eddie-englund opened this issue May 3, 2023 · 2 comments
Open

Comments

@eddie-englund
Copy link

When sorting with cellCompare (or just any sorting i.e default sort), then the row you select doesn't move as it's supposed to but rather all the other rows move which are not using cellTemplate with VGridVueTemplate.

With cellTemplate (note that all the rows around it are also using cellTemplates)

Screen.Recording.2023-05-03.at.13.07.29.mov

Without cellTemplate

Screen.Recording.2023-05-03.at.13.07.59.mov

Reproduce: https://codesandbox.io/s/determined-zeh-854ibx?file=/src/App.vue

@os-tohe
Copy link

os-tohe commented Jul 7, 2023

I am having the same problem. Is there any way to fix this?

@eddie-englund
Copy link
Author

I haven't been able to figure out a solution to this so we had to do the sorting ourselves on the back-end and hackily get access to the click event on the headers.

Would really like this fixed!

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

2 participants