material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Expand tree leaf programmatically

Open ogozman opened this issue 3 years ago • 1 comments

Hi, i am using tree data of the table, which works very well but i want to expand some nodes by default. Is there a way to do that somehow when rendering page? Thank you!

ogozman avatar Apr 28 '22 11:04 ogozman

Hi, ogozman. You actually can ref to "MaterialTable" component and use the method "onTreeExpandChanged" .

ibr4qr avatar Jul 26 '22 12:07 ibr4qr

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Oct 28 '22 23:10 stale[bot]