How to expand One Grid Row Only at a Time with React, the behavior needed is that all the rows will be collapsed when i expand a row.
I found a solution with jquery but not in React.
Thank you in advance.
2 Answers, 1 is accepted
0
Accepted
Stefan
Telerik team
answered on 07 Oct 2020, 11:56 AM
Hello, Raef,
The expanded state of the details is part of the data.
I can suggest on the onExpandChange event to set the expanded state to expanded on the currently clicked detail and set the expanded field to false to all other items.
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).