-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 Expandrows broken in 3.45 #5041
Comments
Hi, I couldn't replicate it. https://primevue.org/datatable/#row_expansion Can you please attach a stackblitz/codesandbox link to replicate? |
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. |
Unfortunately, closed for now. If an update comes from your side, please reopen this ticket. Thanks a lot for your understanding! Best Regard, |
Apparently it was not in the expanded section but in the expander button. My code is This specific code stopped working When I add the template it stops working So It seems there might be an issue in events firing when I include the template body for the expander. My main goal is to hide the expander when there is no data in the expanded section. Alternative approaches are also welcome |
Interesting! Do you have any errors on console? |
Sadly no.. |
1 similar comment
Sadly no.. |
I want to share a demo link. The 'body' templating is working as expected. If the problem still persists, please send us a reproducer link. |
Wierd, when I open your link the 'togger' button does not do anything. Not in chrome, not in chrome-anonymous, not in firefox |
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. |
What about for other people?. When I click in your link the 'expand all' button all rows expand, when I click on toggle nothing happens |
Hi @yormy, By adding a template to the expander button, you override its default behaviour. That's why you need to implement the toggle/collapse behaviour manually. I have attached a working example below. If your problem still persists, please send us a stackblitz link and write what steps we need to follow to see your case. https://stackblitz.com/edit/16r7fy-5epxpj?file=src%2FApp.vue Best Regards, |
We add |
Describe the bug
Expanding rows in 3.44 works, and when I upgrade the package to 3.45 it no longer show the expanded section
Reproducer
x
PrimeVue version
3.45
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
chrome
Steps to reproduce the behavior
x
Expected behavior
x
The text was updated successfully, but these errors were encountered: