# .NET MAUI DataGrid Overview

The Telerik UI for [.NET MAUI DataGrid](https://www.telerik.com/maui-ui/datagrid) displays, edits, and organizes tabular data in .NET MAUI applications. Use it when you need a flexible grid that can handle large data sets, support common data operations, and adapt to desktop and mobile layouts.

The DataGrid uses rows, columns, and cells to represent business data in a familiar layout. It also uses UI virtualization so that row and cell visuals are created only when they are needed, which helps keep scrolling and interaction responsive.

Use the .NET MAUI DataGrid to:

* Display data from collections of business objects or `ViewModel` instances.
* Configure columns for different data types and editing scenarios.
* Let users sort, filter, group, search, and page through data.
* Improve usability with selection, row details, aggregates, and keyboard navigation.
* Customize styling, localization, empty states, and command handling.

The following image shows the DataGrid running on supported desktop and mobile platforms:

![The Telerik .NET MAUI DataGrid displaying tabular data on Android, iOS, macOS, and Windows.](https://www.telerik.com/maui-ui/documentation/assets/42effea6b71b6e928e5c7608b0178afe/datagrid-overview.png "Telerik .NET MAUI DataGrid on all platforms")

## MAUI DataGrid Video Tutorial

If you prefer a guided walkthrough, watch the MAUI DataGrid video tutorial.

For a written alternative, start with [Getting Started with the .NET MAUI DataGrid](https://www.telerik.com/maui-ui/documentation/controls/datagrid/getting-started). Continue with [defining DataGrid columns](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/overview) and [DataGrid template columns](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/column-types/template-column). Then explore [DataGrid sorting](https://www.telerik.com/maui-ui/documentation/controls/datagrid/sorting), [DataGrid filtering](https://www.telerik.com/maui-ui/documentation/controls/datagrid/filtering/overview), and [DataGrid selection](https://www.telerik.com/maui-ui/documentation/controls/datagrid/selection).

<iframe width="560" height="315" src="https://www.youtube.com/embed/XxUvA4fKHzU" title="Take your .NET MAUI skills to the next level with Chapter 4 of the Telerik UI for .NET MAUI course! This video provides a comprehensive guide to .NET MAUI Grid control. Learn about its features, setup process, column configuration, and creating custom column templates. Discover how to enable sorting, filtering, and selection for a dynamic and powerful data presentation in your apps. Watch now and become a DataGrid expert!" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

## Built-in Columns

The MAUI DataGrid provides a set of [built-in columns](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/overview) such as Text, Boolean, Numeric, ComboBox, Date, Time, and Template. These predefined templates allow you to handle different data types and user scenarios, each with its specific editor.

## Reordering and Resizing Columns

The .NET MAUI DataGrid provides a number of features and configuration options related to its columns to provide a flexible and usable user experience. For example, you can enable [column reordering](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/reordering) and [resizing](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/resizing). If you want to prevent a column from resizing, you can [lock the column](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/frozen-columns) and keep the important information always on top.

## Sorting, Filtering, and Grouping Data

Perform sorting, filtering, and grouping operations on your data by using the convenient API of the control. Apply the [sorting](https://www.telerik.com/maui-ui/documentation/controls/datagrid/sorting), [filtering](https://www.telerik.com/maui-ui/documentation/controls/datagrid/filtering/overview), and [grouping](https://www.telerik.com/maui-ui/documentation/controls/datagrid/grouping/overview) operations per column. You can sort, filter and group through the built-in UI or programmatically using the `RadDataGrid.SortDescriptors`, `RadDataGrid.FilterDescriptors`, and `RadDataGrid.GroupDescriptors` collections.

## Editing

You can enable users to [edit](https://www.telerik.com/maui-ui/documentation/controls/datagrid/editing) the data presented in the .NET MAUI DataGrid. Depending on the column data type, a relevant editor allows end users to edit content in a friendly environment. For example, if one of the columns is a date, a date-picker will be used to offer a change in the date field.

## Single and Multiple Selection

The DataGrid features a [single or a multiple-item selection](https://www.telerik.com/maui-ui/documentation/controls/datagrid/selection) and provides options for controlling the cell or row selection unit, thus enabling any selection scenario you want your MAUI application users to have.

## Loading Data On Demand

In some cases, you may need to [load data in the .NET MAUI DataGrid when the control is already displayed](https://www.telerik.com/maui-ui/documentation/controls/datagrid/load-on-demand/overview) as this can improve the performance of your application. The DataGrid offers automatic data loading once the user scrolls to the last available record, or by displaying a customizable button which will initiate the loading of more data items.

## Row Details

The MAUI DataGrid allows you to represent additional information for the data in the row by using the [row details](https://www.telerik.com/maui-ui/documentation/controls/datagrid/row-details/row-details-overview) feature.

## Aggregates Support

You can use the exposed API for applying [aggregates functions](https://www.telerik.com/maui-ui/documentation/controls/datagrid/aggregates/overview). Add aggregate descriptors to `DataGridColumn.AggregateDescriptors`, then use the predefined aggregate functions like `Sum`, `Count`, `Min`, `Max`, `Average`, etc, or implement a custom function.

## Searching As You Type

The DataGrid provides the ability to search for specific data within its `ItemsSource` by using its [built-in search functionality](https://www.telerik.com/maui-ui/documentation/controls/datagrid/search-as-you-type).

## Paging Support

You can [page the data](https://www.telerik.com/maui-ui/documentation/controls/datagrid/paging) of the DataGrid using the Telerik UI for .NET MAUI [DataPager](https://www.telerik.com/maui-ui/documentation/controls/datapager/overview) control.

## Keyboard Navigation Support

Use keyboard keys for navigation in the MAUI DataGrid control. This feature is available on [WinUI](https://www.telerik.com/maui-ui/documentation/controls/datagrid/keyboard-navigation/windows) and [MacCatalyst](https://www.telerik.com/maui-ui/documentation/controls/datagrid/keyboard-navigation/maccatalyst).

## Smart AI Features

The DataGrid control provides a set of AI features that allow you to enhance the user experience by providing AI-powered suggestions and actions. The AI Smart Features provide a built-in UI that allows users to interact with the DataGrid using natural language queries and commands.

You can enable the [Semantic Search](https://www.telerik.com/maui-ui/documentation/controls/datagrid/smart-ai-features/semantic-search/overview) and [AI Smart Assistant](https://www.telerik.com/maui-ui/documentation/controls/datagrid/smart-ai-features/ai-assistant/overview) features by setting the `IsAIEnabled` property to `true`.

## Row Height

By default, the row height is calculated according to the cell content. You can override this behavior by setting a [height for the rows](https://www.telerik.com/maui-ui/documentation/controls/datagrid/row-height).

## Column Headers Visibility

The DataGrid exposes the `ShowColumnHeaders` (`bool`) property which controls whether the column headers row is visible. The default value is `True`. Set it to `False` to remove the column headers row from the DataGrid. For more details, refer to the [Defining Columns](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/overview#column-headers) article.

## Column Footer

The Telerik UI for .NET MAUI DataGrid allows you to display additional information which applies to the columns in a specific row placed at the bottom of the control. Set `ShowColumnFooters` to `True` to visualize the row of individual [footer cells](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/footer) for each column.

## Empty Template

When the .NET MAUI DataGrid does not have any data, you can display an [empty template](https://www.telerik.com/maui-ui/documentation/controls/datagrid/empty-template) in the DataGrid.

By default, `EmptyContentDisplayMode` is `ItemsSourceNull`, which means the empty template is shown only when `ItemsSource` is `null` (not when it is an empty collection). To also show it for empty collections, set `EmptyContentDisplayMode` to `ItemsSourceNullOrEmpty`.

## Commands

The MAUI DataGrid allows you to add [commands](https://www.telerik.com/maui-ui/documentation/controls/datagrid/commands/overview) to the commands collection to execute additional logic when certain actions occur. You can execute the commands when a cell is tapped, double-tapped, when an editing operation begins, when tapping on a column header, when filtering data, and more.

## Data Refresh and Busy State

The DataGrid allows you to refresh its data and exposes APIs that help you control how data changes are processed:

* Refresh the data by using the [RadRefreshView](https://www.telerik.com/maui-ui/documentation/controls/refreshview/overview) control.
* `ApplyDataOperationsOnPropertyChange` (`bool`)—Defines whether sorting, filtering, and grouping are reapplied when an item in the `ItemsSource` raises `PropertyChanged`. The default value is `True`.
* `IsBusy` (`bool`)—Indicates whether the DataGrid is currently busy. Set this property when you want to display an application-defined loading state while data is being fetched or updated.

When you bind the DataGrid to models with nested properties, you can also enable `ListenForNestedPropertyChange` to react to changes coming from nested objects. For more details, see [Nested Properties](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/nested-properties).

## Theming and Style

You can apply a [theme](https://www.telerik.com/maui-ui/documentation/styling-and-themes/overview) to the MAUI DataGrid. If you prefer to use your own styling, then you can use the [flexible styling API](https://www.telerik.com/maui-ui/documentation/controls/datagrid/theming-and-styles/styling) of the .NET MAUI DataGrid. The styling API allows you to style the DataGrid rows and columns, the cell content inside the columns, the group header, the aggregates inside the group header and the group footer, etc.
In addition, you can apply a style selector.

## Localization

The Telerik UI for .NET MAUI DataGrid provides [localization support](https://www.telerik.com/maui-ui/documentation/globalization-localization#localization). You can translate the text displayed in the Filtering UI, Grouping panel, etc. to other languages, so that your application can be adapted to different cultures.

## Next Steps

Continue with these articles to start using and refining the DataGrid:

* [Getting Started with Telerik UI for .NET MAUI DataGrid](https://www.telerik.com/maui-ui/documentation/controls/datagrid/getting-started)
* [Configure DataGrid column types and templates](https://www.telerik.com/maui-ui/documentation/controls/datagrid/columns/overview)
* [Customize the DataGrid appearance with styling](https://www.telerik.com/maui-ui/documentation/controls/datagrid/theming-and-styles/styling)

## See Also

* [.NET MAUI DataGrid Product Page](https://www.telerik.com/maui-ui/datagrid)
* [.NET MAUI DataGrid Forum Page](https://www.telerik.com/forums/maui?tagId=1801)
* [Telerik .NET MAUI Blogs](https://www.telerik.com/blogs/mobile-net-maui)
* [Telerik .NET MAUI Roadmap](https://www.telerik.com/support/whats-new/maui-ui/roadmap)

<VideoMetadata 
 name="Mastering the DataGrid in Telerik UI for .NET MAUI: Setup, Columns, Sorting, and More | Chapter 4"
 description="Take your .NET MAUI skills to the next level with Chapter 4 of the Telerik UI for .NET MAUI course! This video provides a comprehensive guide to .NET MAUI Grid control. Learn about its features, setup process, column configuration, and creating custom column templates. Discover how to enable sorting, filtering, and selection for a dynamic and powerful data presentation in your apps. Watch now and become a DataGrid expert!"
 thumbnail-url="https://img.youtube.com/vi/XxUvA4fKHzU/maxresdefault.jpg"
 upload-date="2024-12-05T00:00:00Z"
 duration="PT20M27S"
 content-url="https://youtu.be/XxUvA4fKHzU"
 embed-url="https://www.youtube.com/embed/XxUvA4fKHzU">
</VideoMetadata>
