.NET MAUI TreeDataGrid Row Details
The Telerik UI for .NET MAUI TreeDataGrid control is capable of presenting additional information through the Row Details functionality. The Row Details is a Data Template defined on the grid or row level and is used for displaying data without affecting the dimensions of the row and the cells within it.
To show the Row Details, you can use the following exposed options:
- The default
DataGridToggleRowDetailsColumn
column —Allows showing and hiding the row details for an item. For additional information, refer to the DataGrid Toggle Row Details Column - Using an additional element inside the TreeDataGrid Column
CellContentTemplate
and on its click, tap event, to show or hide the row details.
The DataGrid exposes the following properties that control the row details functionality:
AreRowDetailsFrozen
(typebool
)—The property indicates whether the row details keep their position during horizontal scroll.ExpandedRowDetails
(typeIList
)—Defines the collection of items that have expanded row details.CanUserExpandMultipleRowDetails
(typebool
)—The property indicates whether multiple row details can be expanded.
Row Details Template
The .NET MAUI TreeDataGrid control inherits the RowDetailsTemplate
property (type DataTemplate
). The property is used for displaying row details.