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

How to change sub rows rowDataId ? #216

Open
vlausargs opened this issue May 4, 2024 · 2 comments
Open

How to change sub rows rowDataId ? #216

vlausargs opened this issue May 4, 2024 · 2 comments

Comments

@vlausargs
Copy link

from this example

The id of a sub-row is in the format {parentId}>{id}.

but the problem is when i set rowDataId in

table.createViewModel(columns, {
			rowDataId: (row) => row.id
		});

it return index instead of the data.id
image

@philmas
Copy link

philmas commented May 16, 2024

I followed the #110 instructions, but I obtain the same issue with subrows.

@vlausargs
Copy link
Author

I followed the #110 instructions, but I obtain the same issue with subrows.

thats exactly my point.
I screenshot the selectedDataIds for reference

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

No branches or pull requests

2 participants