Master-detail
Since 0.1.0-alpha.20
The members for master-detail, and the types they use. Every member of
IzzyBlazor.DataGrid<TItem> is on the DataGrid API.
Properties (6)
DetailTemplateRenderFragment<TItem>?A row's detail: drawn under it, across the grid, while it's open. Setting it adds a column of buttons that open and close it. It needs an ItemKey, which open rows are kept by. Only open rows draw it, so a component in it loads its own data when it's opened.
ItemHasDetailFunc<TItem, bool>?Which rows have a detail; all of them when it's not set. A row without one has no button, except while the grid hides columns to fit, when its detail shows their values.
@bind-OpenDetailsIReadOnlyList<string>?Which rows' details are open, by key; "*" is all of them, and "!key" an exception to that. Binding it on an interactive page keeps it in the component; otherwise it's in the address.
DetailsOpenbool = falseWhether every row's detail starts open.
SingleDetailbool = falseOpening a row's detail closes the one that was open. There's no button to open them all.
ItemKeyFunc<TItem, string>? (computed)A unique, stable key for each item, such as its id. Selection posts and binds these keys. Defaults to the item's string form.