0

I am using MUI Data grid pro to render parent row with collapsible child table. When the table is initially rendered all the parent rows are collapsed with a "+" button.

On clicking the "+" child table is rendered and this is working fine. However I want for a specific row with a specific Id to be expanded by default with out the user having to manually click "+".

Is it possible to invoke the getPanelContent somehow automatically or set the initial state as expanded for the specific row I am interested in?

Olivier Tassinari
  • 8,238
  • 4
  • 23
  • 23
Kavitha
  • 11
  • 1

0 Answers0