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
Hi! I've spent couple hours today on this bug, and I have no idea why it is happening... I have couple Dialogs where I use DataTable, and I wanted to make them generic. That is when I discovered this issue (very simplified):
When I pass the Columns to the DataTable from a function, or straight there, it works fine.
melloware
added
Resolution: By Design
The behavior in the issue is by design and the component exhibits the expected behavior
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Aug 4, 2023
Describe the bug
Hi! I've spent couple hours today on this bug, and I have no idea why it is happening... I have couple Dialogs where I use DataTable, and I wanted to make them generic. That is when I discovered this issue (very simplified):
When I pass the Columns to the DataTable from a function, or straight there, it works fine.
When I do something like this, the data doesn't render at all...
Reproducer
No response
PrimeReact version
9.2.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: