You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using row expansion in my primevue datatable and v4.2.5 and when I try modifying the toggler using the template, it won't work, but when I use the deprecated one it works?
Describe the bug
I am currently using row expansion in my primevue datatable and v4.2.5 and when I try modifying the toggler using the template, it won't work, but when I use the deprecated one it works?
<Column expander style="width: 200px" header="Actions"> <template #rowtogglericon="{ rowExpanded }"> <i v-if="rowExpanded" class="fa-light fa-xmark"></i> <i v-else class="fa-light fa-check"></i> </template> </Column>
I just did that as a test and it works just fine using the deprecated #rowtogglericon but if I use #rowtoggleicon it won't work.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/2bgmsic3?file=src%2FApp.vue
Environment
Same as the stackblitz
Vue version
3
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Try modifying the icon from the #rowtoggleicon and it won't work, change to #rowtogglericon and it will.
Expected behavior
To change the icon and appearance of the row expansion icon
The text was updated successfully, but these errors were encountered: