DataTable: rowStyle function doesn't work #3738
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
According to the docs:
rowStyle is a function that takes the row data as a parameter and returns the inline style for the corresponding row.
But if we look at code, we see that it accept only object. There were an issue before, but it wasn't fixed.
Reproducer
https://codesandbox.io/s/funny-noyce-90zjm0?file=/src/App.vue
PrimeVue version
3.24
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
rowStyle function should be called, its result should be used as a style of row
The text was updated successfully, but these errors were encountered: