DataTable: Rowspan not working correctly when returning it from passThrough bodyCell (of Column) #7156
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Milestone
Describe the bug
If bodyCell pt function returns rowspan (
{rowspan: '2'}
) in DataTable component then it does not work, but it works when rowSpan is in camelCase (colspan works correctly). I guess rowspan (all lowercase) should work also.https://stackblitz.com/edit/p1zsnpbi-vo2vl6p9?file=src%2FApp.vue
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/p1zsnpbi-vo2vl6p9?file=src%2FApp.vue
Environment
Add
Vue version
3.2.45
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
In DataTable component, add bodyCell pt function to Column and let the function return
{rowspan: '2'}
then it will not work (only works if using{rowSpan: '2'}
).Expected behavior
Lowercase letters should also work
rowspan
(it works forcolspan
).The text was updated successfully, but these errors were encountered: