The Blazor DataGrid is a feature-rich component useful for displaying data in a tabular format. Its wide range of functionalities include data binding, editing, Excel-like filtering, custom sorting, aggregating rows, selection, and support for Excel, CSV, and PDF formats.
Bind data seamlessly with various local and remote data sources such as JSON, RESTful services, OData services, and WCF services. It uses the data manager to handle data and supports customizing data requests.
The Blazor DataGrid has a highly responsive layout and a finely optimized design for desktops, touch screens, and smart phones.
User-friendly touch gestures and an interactive UI design help produce the best user experience. All Blazor Data Grid features work on touch devices with zero configuration.
Blazor DataGrid Component is a mobile-first approach control. Its responsive user interface adapts automatically to any device and provides the best user experience to interact with the control. In addition, it has an option to hide specific columns for certain screen sizes using column-based media query support.
The Blazor DataGrid pager acts intelligently and changes its complete UI responsively based on the Blazor Data Grid dimension. Its optimized design provides the best UI interaction in different devices.
The Blazor DataGrid has optimized design for high-performance. It loads millions of records in just a second without any performance degradation with the help of row and column virtualization. The WebAssembly helps avoid unnecessary rendering of components.
The Blazor DataGrid provides full support to create, read, update, and delete (CRUD)operations. In addition to built-in editor controls to edit a particular column value, using template support users can create custom editor controls 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.
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.
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.
Five built-in SASS-based themes are available such as Material, Bootstrap, Bootstrap 4, Fabric, and High Contrast. Simplify theme customization either by overriding the existing SASS styling or creating custom themes by using the Theme Studio application.
Easily export the Blazor Grid control in file formats such as Excel, PDF, or CSV.
Allows users to print data either by using the print option from the toolbar or programmatically. Print all the rows of a Blazor DataGrid regardless of the number of pages or print the currently viewed page alone.
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.
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.
Blazor DataGrid enables users from different locales to format date, currency, and numbering to suit their language preferences. It uses the internalization (i18n) library to handle value formatting.
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.
Based on their needs, users can localize all the strings that are used in the user interface of the Blazor DataGrid control. It uses the localization (l10n) library to localize UI strings.
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.
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.
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.
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%.
Using templates, users can create custom UI. It provides various template options to create custom headers, custom cell contents, custom rows, detail rows, toolbars, and custom editors for edit action.
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.
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.
Columns define the schema of data source in Blazor DataGrid control. It supports formatting, auto generating columns, column definitions, freezing rows and columns, column spanning, text wrapping, column chooser, column menu, and other features.
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.
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.
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 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.
Live Blazor DataGrid is optimized for handling and updating large number of records at real-time suitable for binding financial records and more.
Easily get started with the Blazor DataGrid using a few simple lines of C# code example as demonstrated below,
@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; }
}
}
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,
The Blazor DataGrid works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and IE11. It supports IE11 with the help of polyfills.
We do not sell the Blazor DataGrid separately. It is only available for purchase as part of the Syncfusion Blazor suite, which contains over 65 native Blazor components, including the DataGrid. A single developer license for the Syncfusion Essential Studio for Blazor suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our Blazor DataGrid demo here.
No, our 65 Blazor components, including DataGrid, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their DataGrid alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 65 Blazor components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
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 and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
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.