Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeTable: passing row property to the table pass through is not working #7641

Open
BAISTM opened this issue Jan 23, 2025 · 1 comment
Open
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@BAISTM
Copy link

BAISTM commented Jan 23, 2025

Describe the bug

Row passthrough's root property is injected directly in the DOM instead of being parsed.

DOM:

Image

Code:

Image

Reproducer

https://stackblitz.com/edit/ymsdhzlr-ke9rnhph?file=src%2FApp.jsx

System Information

primereact: 10.9.1

Steps to reproduce the behavior

No response

Expected behavior

No response

@BAISTM BAISTM added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 23, 2025
@BAISTM
Copy link
Author

BAISTM commented Jan 23, 2025

Defining the callback at the row level works correctly (maybe it's a TS issue?) but unfortunately the passed data does not contain elements allowing us to identify a specific row , IMHO, the row ID should be passed to the callback.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant