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

docs(expansion/table): tip use table option getRowId if data may change #5729

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bobo96run
Copy link

Fix #2028

Add a tip in https://tanstack.com/table/v8/docs/api/features/expanding to mention using the table option getRowId to avoid expansion glitch when table data changes.

Also mentioned in https://tanstack.com/table/v8/docs/api/core/table#getrowid that the option helps expansion.

Tip use table option getRowId to prevent expansion glitch when table data changes.
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.

useExpanded expanded rows are by index rather than by unique row identifier
1 participant