Skip to content

idAccessor on rowExpansion? #117

Closed Answered by icflorescu
Zaqttack asked this question in Q&A
Discussion options

You must be logged in to vote

The idAccessor property defaults to id, so you only need to define it if your data has a different unique key (such as name).
This is covered in the docs here: https://icflorescu.github.io/mantine-datatable/examples/non-standard-record-ids.
That being said, maybe I should add a note on using non-standard IDs on the row expansion example page too.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by icflorescu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants