TreeTable: Custom Column's Toggler Icon #4170
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Can't provide custom toggler icon via Column's "rowtogglericon" slot. Only toggler from the TreeTable's slot "togglericon" but it doesn't provide rowExpanded or something else to check whether the row is expanded or not (ex. we want to rotate the custom icon on row expand )
Note: Also attributes from the pt's rowGroupToggler are not applied so we can't provide aria-label for toggler's button for accesibility
Reproducer
https://stackblitz.com/edit/nfvmaa-jh7cwq?file=src%2FApp.vue,src%2FDataTable.vue,src%2Frouter.js
PrimeVue version
3.29.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
We can provide custom toggler icon for Column
We can check whether the row is expanded in the TreeTable's togglerIcon slot
We can provide attributes to the rowtoggler and its icon
The text was updated successfully, but these errors were encountered: