Expanded rows should be controllable
See original GitHub issueAs requested here.
Gist:
The rowExpansion
property object should also include:
records
→ currently expanded recordsonChange
→ callback fired when currently expanded records change:onChange: (records: T[]) => void
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[Feature Request] Allow for controlled expandedRows #724
Currently, expandedRows is uncontrolled, allowing rows only to be expanded using the built-in dropdown. This functionality is perfect is ...
Read more >Collapse and Expand Rows | WinForms Controls
The control raises the RowCollapsing, RowCollapsed, RowExpanding, and RowExpanded events before and after the corresponding operation. Use the ...
Read more >How can I collapse an already expanded expandable row in ...
Basically this allows you to expand a row and have any other rows that are expanded, to collapse. I want to be able...
Read more >Expanding | TanStack Table Docs
Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to...
Read more >Examples › Expanding rows | Mantine DataTable
Controlled mode You can control the row expansion feature by pointing the rowExpansion / expanded property to an object containing: recordIds → an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done in
v1.7.9
. Can be used like this:Full working example in Controlled mode section of this page.
@otobot1 Not yet, but I will over the weekend.