Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4298

MudDataGrid - Track changes in hierarchy / remeber childrow-visibility

$
0
0

I am using a MudDataGrid with HierarchyColumn to selectively display the ChildRowContent on any row of my data grid. So far, everything works great. Initially, all rows are collapsed.

When some of the rows are extended / visible, and I reload the underlying data set / list, all rows are collapsed again.

What I would like to do is to track the expansion status of each ChildRowContent so the user does not have to manually expand the respective rows he/she was working on.

I know there is InitiallyExpandedFunc on HierarchyColumns, which gives me at the option to initally expand specific rows, but in order to use this, I need to track the visibility of each row's ChildRowContent.

And since we are already here - is there a way to programmatically expand a row? If so, I would like to connect that with the RowClick Function of the MudDataGrid, as it would feel more intuitive in my scenario.


Viewing all articles
Browse latest Browse all 4298

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>