We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The .NET MAUI DataGrid control is used to display and manipulate data in a tabular view. Its rich feature set includes different column types, sorting, autofit columns and rows, and styling all elements.


.NET MAUI DataGrid Code Example

Easily get started with the .NET MAUI DataGrid using a few simple lines of XAML code example as demonstrated below. Also, explore our .NET MAUI DataGrid Example that shows you how to render and configure the .NET MAUI DataGrid.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
              xmlns:syncfusion="clr-namespace:Syncfusion.Maui.DataGrid;assembly=Syncfusion.Maui.DataGrid"
              xmlns:local="clr-namespace:GettingStarted"
             x:Class="GettingStarted.MainPage">
    <ContentPage.BindingContext>
        <local:OrderInfoRepository x:Name="viewModel" />
    </ContentPage.BindingContext>
    <ContentPage.Content>
        <syncfusion:SfDataGrid x:Name="dataGrid"
             ItemsSource="{Binding OrderInfoCollection}">
        </syncfusion:SfDataGrid>
    </ContentPage.Content>
</ContentPage>

High performance

The .NET MAUI DataGrid control was built from the ground up for the best possible performance, even when loading large amounts of data.

.NET MAUI DataGrid high performance.


.NET MAUI DataGrid responsiveness.

Responsive DataGrid

Responsive features allow the DataGrid layout to be viewed on different devices. It is also possible to hide specific columns and customize the width of all the columns or individual columns with built-in column sizing options.


Data binding

Bind data seamlessly from various local and remote data sources, such as JSON, OData, WCF, and RESTful web services.

.NET MAUI DataGrid data binding.


.NET MAUI DataGrid selection.

Selection

  • Select one or more rows with built-in selection modes.
  • Navigate among cells and rows with keyboard navigation in the Windows platform.
  • Customize the background and text color for selected rows.

Editing

Experience easy editing with our in-place editing feature. With a seamless interface and a wide range of built-in column types, including text, numeric, combo box, and date picker editors, users will enjoy unparalleled control over their data. Easily commit or roll back changes with just a few clicks, ensuring the smoothest editing experience possible.


Data shaping and manipulation

.NET MAUI DataGrid shows the sorted data.

Sorting

Sort one or more columns in ascending or descending order. Perform tri-state sorting and display sort numbers to indicate the sort order.

.NET MAUI DataGrid shows the grouped data.

Grouping

Programmatically group data by one or more columns using flexible templates. The groups can be expanded or collapsed based on user preference. Additionally, the grouping logic can be customized to apply specific rules for data grouping.

Filtering in .NET MAUI DataGrid.

Filtering

Filtering helps you view records that meet given criteria. The DataGrid supports various filter types through a powerful Excel-like filter UI. Choose from built-in filters, define your own filtering logic, and customize the filtering UI based on your application requirements.

Summaries in .NET MAUI DataGrid.

Summaries

Display a row containing summary data for the columns with aggregate types such as sum, minimum, maximum, average, and count. The following are the different categories of summary:

  • Total or table
  • Group
  • Summary in group caption or group header
  • Custom

Real time updates.NET MAUI DataGrid.

Real time updates

In high-pressure situations, maintaining up-to-date information is critical. The DataGrid supports real-time updates to cells, enhancing efficiency and responsiveness.


Loading more items

  • Load a subset of data into the bound collection at runtime.
  • Customize the load-more-items option and set its position at the top or bottom of the MAUI DataGrid.
  • Automatically load data in chunks when reaching the end of the list.

.NET MAUI DataGrid load more items.


Pull to refresh

  • Refresh the data source dynamically during a pull-to-refresh action.
  • Enhance the user experience by customizing the pull-to-refresh view with sliding and pushing transition modes.

.NET MAUI DataGrid pull to refresh.


Row and column customization

.NET MAUI DataGrid shows the different types of columns.

Column types

  • Users can load different types of data using various built-in column types such as text, numeric, date, checkbox, and image for better data visualization.
  • Load custom or multiple views in the cells to display using templated columns.

Freeze panes in .NET MAUI DataGrid.

Freeze panes

Freeze rows and columns at the top and bottom of the view, similar to Excel. Horizontal and vertical scrolling can be performed, except on frozen columns and rows.

Stacked headers in .NET MAUI DataGrid.

Stacked headers

Group the columns under a common header. Users can add multiple rows and define multicolumn headers in the stacked header rows.

.NET MAUI DataGrid shows rows in auto fit.

Row height

Adjust (auto-fit) the row height based on the content of any column or certain columns to enhance the readability of the content. It is also possible to set the row height conditionally.

Column sizing in .NET MAUI DataGrid.

Column sizing

  • The column width can be adjusted to fit based on the contents of cells in the column.
  • All the columns can be adjusted to fit within the viewport.

Unbound view

Unbound column

Unbound Column in .NET MAUI DataGrid.

Display additional columns that are not bound to data objects from the underlying data source. The control supports applying arithmetic/logical expressions on cell values of bound columns to populate the cells of unbound columns.

Unbound row

Unbound Row in .NET MAUI DataGrid.

Display rows at the top and bottom of the grid with data that is not bound to the data source.


Resizing

Resize a column on touch-up to read a lot of data with flexibility. Restrict a column with a minimum width to avoid hiding the column and a maximum width to restrict resizing beyond the limit.

Column resizing in .NET MAUI DataGrid.


Appearance

Styling in .NET MAUI DataGrid.

Styling

  • Customize the style of each and every element in the MAUI DataGrid to display visually appealing data.
  • Apply a background color to alternating rows for better readability.
  • Customize text styles of rows for an elegant look and feel.
  • Customize vertical or horizontal grid line borders or both. Customize the color and thickness of the grid lines, as well.

Conditional styling in .NET MAUI DataGrid.

Conditional styling

  • Customize cell and row appearances conditionally based on the data.
  • Customize styles and formatting of data in the rows.

Exporting

Excel exporting in .NET MAUI DataGrid.

Excel export

  • The .NET MAUI DataGrid allows exporting data to the Excel file format.
  • It offers a range of appearance customization options.
  • Users can exclude specific columns and headers from the exported file, set custom row heights and column widths, and much more. To enhance customization capabilities, utilize the Syncfusion .NET MAUI Excel library to further modify the exported Excel file according to the requirement.

PDF Exporting in .NET MAUI DataGrid.

PDF exporting

  • The .NET MAUI DataGrid allows the export of data to the PDF file format, providing a wide range of appearance customization options.
  • Users can exclude specific columns and headers from the exported PDF, set custom row heights and column widths, and more.
  • Users have the flexibility to show or hide column headers on each page of the exported PDF. Moreover, the DataGrid enables the display of additional content at the top (header) or bottom (footer) of the page during PDF export. To view the exported PDF document, users can utilize the Syncfusion .NET MAUI PDF Viewer.

.NET MAUI DataGrid paging.

Paging

  • Manipulate data using the DataPager control to view records on multiple pages.
  • Customize visually appealing styles based on device and application requirements.
  • Load data to new pages on demand with options to maintain and reset the cache.



Frequently Asked Questions

The Syncfusion .NET MAUI DataGrid control supports the following features:

  • Instantly load large amounts of data.
  • Apply style to every element in a data grid easily.
  • Select one or more rows with built-in selection modes.
  • Sort one or more columns in ascending or descending order.
  • Support for real-time updates to cells, enhancing efficiency and responsiveness.
  • Load and display custom or multiple views in cells using column templates.
  • Group data by one or more columns using flexible templates.
  • Display a row containing summary data for the columns with aggregate types such as sum, minimum, maximum, average, and count.
  • One of the best .NET MAUI DataGrid in the market, offering feature-rich UI to interact with the software.
  • Simple configuration and APIs.
  • Mobile-touch friendly.
  • Extensive demos, documentation, and videos to let you get started quickly with the .NET MAUI DataGrid.

You can find our .NET MAUI DataGrid demo, which demonstrates how to render and configure the DataGrid.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Syncfusion .NET MAUI Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile