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 Blazor DataGrid, also known as the Blazor Grid is a feature-rich component useful for displaying data in a tabular format. Its wide range of functionalities include data binding, adaptive UI layout for all devices, editing, Excel-like filtering, custom sorting, aggregating rows, selection, and support for Excel, CSV, and PDF formats.


Why choose Syncfusion Blazor DataGrid?

Blazor DataGrid high performance

High performance

Well thought out efforts, and focuses mainly on fast paced performance to load millions of records in just a second.

Blazor DataGrid seamless data binding

Seamless data binding

Bind data seamlessly with various local and remote data sources, such as IEnumerable/List, RESTful services, OData services, WCF services, Observable Collection, ExpandoObject, and DynamicObject.

Blazor DataGrid adapts to any resolution

Adapts to any resolution

DataGrid has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

Blazor DataGrid flexible editing

Flexible editing

The Blazor Grid performs create, read, update, and delete operations (CRUD) easier with list of business objects or remote data service with the help of data manager.

Blazor DataGrid create your own template designs

Create your own template designs

Allows users to create custom user experiences in the Blazor Grid based on their application need using a wide range of template options.

Blazor Grid customizable themes

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes easier.

Blazor DataGrid exporting and printing

Easy export and printing

Export the Data Grid in various file formats, including Excel, PDF, and CSV. Print all of the rows, regardless of the number of pages, as well as the currently viewed page.

Blazor DataGrid globalization and localization

Globalization and localization

Enables users from different locales to use them by formatting dates, currency, and numbering to suit preferences.


Blazor DataGrid Code Example

Easily get started with the Blazor DataGrid using a few simple lines of C# code example as demonstrated below. Also explore our Blazor DataGrid Example that shows you how to render and configure the Blazor Grid.

Edit in Blazor Playground

@using Syncfusion.Blazor.Grids
<SfGrid DataSource="@Orders">
</SfGrid>
@code{
    public List<Order> Orders { get; set; }
    protected override void OnInitialized()
    {
        Orders = Enumerable.Range(1, 75).Select(x => new Order()
        {
            OrderID = 1000 + x,
            CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],
            Freight = 2.1 * x,
            OrderDate = DateTime.Now.AddDays(-x),
        }).ToList();
    }
 public class Order {
        public int? OrderID { get; set; }
        public string CustomerID { get; set; }
        public DateTime? OrderDate { get; set; }
        public double? Freight { get; set; }
    }
}

Adaptive UI layout

The Blazor Data Grid user interface is customized and redesigned for great views and usability on small screens. Filter, sort, search, and edit dialogs adaptive to the screen size and also render row elements in a vertical direction.

Blazor DataGrid Adaptive UI Layout


Blazor DataGrid Column

Column

Columns define the schema of data source in Blazor DataGrid component. It supports formatting, auto generating columns, column definitions, freezing rows and columns, column spanning, text wrapping, column chooser, column menu, and other features.


Paging

Through paging, a segment of data can be viewed from the assigned data source. The Blazor DataGrid offers built-in pager UI with options to customize its entire UI. It also has an on-demand paging mode for effective data retrieval from remote web services.

Blazor DataGrid Paging


ABlazor DataGrid Sorting

Sorting

The Blazor DataGrid allows users to sort rows either in the ascending or descending order against a column by simply clicking the header. Sort multiple columns’ data by holding the Ctrl key and clicking the header.


Filtering

Filtering helps view specific or related records that meet a given filtering criteria. It supports various filter types that include powerful Excel-like filter. The Blazor DataGrid filter allows users to choose appropriate filter types, define their own custom filtering logic, and customize the filtering UI based on their application needs. It also has an option to filter diacritic characters.

Blazor DataGrid Filtering


Blazor DataGrid Selection

Selection

The Blazor DataGrid allows selecting rows or cells. One or more rows or cells can also be selected by holding Ctrl or Command, or programmatically.


Editing

The Blazor DataGrid provides full support to create, read, update, and delete (CRUD) operations. In addition to built-in editor components to edit a particular column value, using template support users can create custom editor components that suit their application needs. It performs editing operations with a list of business objects or remote data service with the help of the data manager.

Blazor DataGrid Editing


Blazor DataGrid Grouping

Grouping

Supports row grouping to display data in an organized way. Data can be grouped in the ascending or descending order. Rows can be grouped by dragging and dropping the desired columns in the interactive drop area.


Aggregation

Aggregates for column values can easily be displayed using the aggregate feature. Aggregates can be customized to show values in individual summary rows, individual group summary rows, or in group caption rows.

Blazor DataGrid Aggregation


Blazor DataGrid with Freeze rows and columns

Frozen rows and columns

Frozen rows and columns are visible at the top and left or right or both the sides of the Blazor Grid control and make the remaining grid content scrollable. It is mainly used to compare cell values in Blazor Grid component.


The Blazor Data Grid header has to be in a fixed position when scrolling the document vertically to visualize the Data Grid content along with the column header.

Blazor Data Grid Sticky header


Blazor DataGrid Row Drag and Drop

Blazor Grid Row Drag and Drop

The Blazor Grid allows you to drag and drop rows to another DataGrid or custom component. You can drag and drop rows within the same DataGrid using the drag icon.


Blazor Master Detail Grid 

Blazor Master Detail Grid is a use case scenario, in which the details of a record is viewed in a separate data grid by clicking a particular row.

Blazor Master Detail Grid


Blazor Live DataGrid

Blazor Live DataGrid 

Live Blazor DataGrid is optimized for handling and updating large number of records at real-time suitable for binding financial records and more.


Additional features

Blazor DataGrid with row height

Row height

Row height is a major factor when displaying the number of records in the view port, and it is effortlessly customizable based on the application’s UI requirement. It is also possible to set row height conditionally.

Copy to clipboard from Blazor DataGrid

Copy to clipboard

The clipboard provides an option to copy selected rows or cells’ data into the clipboard. Use Ctrl+C and Ctrl+Shift+H key combinations to copy data with and without headers, respectively.

Blazor DataGrid with context menu

Context menu

The context menu improves user action with Blazor DataGrid using popup menu. It appears when the cell, header, or pager is right clicked. In addition to built-in default menu items, it allows you to add custom context menu items.

Width and height in Blazor DataGrid

Width and height

Allows changing the Blazor DataGrid size by setting the width and height properties. Horizontal and vertical scrollbars will appear when the content overflows the Blazor Data Grid element. For the Blazor Data Grid to fill its parent container, the user must simply set the height and width to 100%.

Blazor DataGrid with Stacked headers

Stacked headers

Stacked headers allow grouping and visualizing column headers in a stacked manner. There is no limit to the number of columns that can be stacked. Allows the user to perform all Blazor DataGrid actions, even when the columns are stacked.


Accessibility

Keyboard navigation in Blazor DataGrid

Keyboard navigation

Blazor DataGrid ensures that every cell is keyboard accessible. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this component.

Accessibility and screen reader support in Blazor DataGrid

Screen reader

Blazor DataGrid view has complete WAI-ARIA accessibility support. The Blazor Data Grid UI includes high-contrast visual elements, helping visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in Blazor DataGrid

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the Blazor DataGrid from right to left. This improves the user experience and accessibility for RTL languages.


Mobile optimized and touch friendly

The Blazor Grid has a highly responsive layout and a finely optimized design for desktops, touch screens, and smart phones.

Touch support in Blazor Grid

Touch support

User-friendly touch gestures and an interactive UI design help produce the best user experience. All Blazor Grid features work on touch devices with zero configuration.

Responsive pager UI in Blazor DataGrid Component

Responsive pager

The Blazor DataGrid pager acts intelligently and changes its complete UI responsively based on the Grid dimension. Its optimized design provides the best UI interaction in different devices.





Other supported frameworks

DataGrid is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different DataGrid platforms from the below links,

Supported browsers

The Blazor DataGrid works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers of Blazor DataGrid

Blazor Components – 85+ UI and DataViz Components

Frequently Asked Questions

The Syncfusion Blazor Grid component supports the following features:

  • Loads millions of records in just a second.
  • Flexible data binding with support to use data sources such as Web API, OData, Entity Framework, and more.
  • Rich UI interaction and keyboard navigation in both server-side and client-side (WebAssembly) Blazor apps.
  • Packed with a bunch of features with customization options suitable for building complex, large-scale applications.
  • One of the best Blazor DataGrid in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos, documentation and videos to learn quickly and get started with Blazor DataGrid.

You can find our Blazor 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

Transform your applications today by downloading our free evaluation version Download Free Trial

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