New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI TreeDataGrid Column Footers

The Telerik UI for .NET MAUI TreeDataGrid allows you to display additional information which applies to the columns in a specific row placed at the bottom of the control. This row consists of individual footer cells for each column.

By default, column footers are hidden. To make them visible, set the ShowColumnFooters property to True.

The following example shows how to define a footer in the TreeDataGrid:

<telerik:RadTreeDataGrid x:Name="dataGrid" 
                         ShowColumnFooters="True"/>

To define a text inside the footer, use the FooterText property. The property is per column:

<telerik:RadTreeDataGrid x:Name="dataGrid" 
                         ShowColumnFooters="True" 
                         AutoGenerateColumns="False">
    <telerik:RadDataGrid.Columns>
        <telerik:DataGridTextColumn PropertyName="Capital" 
                                    FooterText="Capital Footer"/>
        <telerik:DataGridTextColumn PropertyName="Country" 
                                    FooterText="Country Footer"/>
    </telerik:RadDataGrid.Columns>
</telerik:RadTreeDataGrid>

Define the footer per column; otherwise, the cell will appear empty.

Styling

Use the FooterStyle property to style the footer of the columns in the TreeDataGrid.

You can customize the content of the footer by using the FooterContentTemplate(DataTemplate) property.

See Also

In this article