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

add nodeData attribute to Tree rows #1537

Merged
merged 2 commits into from
Nov 10, 2024
Merged

add nodeData attribute to Tree rows #1537

merged 2 commits into from
Nov 10, 2024

Conversation

heswell
Copy link
Contributor

@heswell heswell commented Nov 10, 2024

When Table is employed in pure Tree mode, a number of columns will be created automatically,
representing the levels of nesting. Most will not carry useful data values. When the row is
exposed to user in onSelect callback, the default cobversion from internal row format to DTO
will not be ideal. Allow a custom rowToDTO mapper to be passed as a prop. Treetable will use
this feature.

Copy link

netlify bot commented Nov 10, 2024

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit ec294fe
🔍 Latest deploy log https://app.netlify.com/sites/papaya-valkyrie-395400/deploys/673118eb2d0d4e0008b8f492

@heswell heswell merged commit 7d922f5 into main Nov 10, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant