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.
Well thought out efforts, and focuses mainly on fast paced performance to load millions of records in just a second.
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.
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.
The Blazor Grid performs create, read, update, and delete operations more easily with a list of business objects or remote data service with the help of a data manager.
Allows users to create custom user experiences in the Blazor Grid based on their application needs using a wide range of template options.
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 easily.
Export the Data Grid in various file formats, including Excel, PDF, and CSV. Print all the rows, regardless of the number of pages, as well as the currently viewed page.
Enables users from different locales to use them by formatting dates, currency, and numbering to suit preferences.
Easily get started with the Blazor DataGrid using a few simple lines of C# code as demonstrated below. Also explore our Blazor DataGrid Example which shows you how to render and configure the Blazor Grid.
@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; }
}
}
The Blazor Data Grid user interface is customized and redesigned for great views and usability on small screens. Its features include filter, sort, search, column chooser, column menu, pager dropdown, and edit dialogs that are adaptive to the screen size and render row elements in a vertical direction.
Columns define the schema of the 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.
Through paging, a segment of data can be viewed from the assigned data source. The Blazor DataGrid offers a 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.
Sort rows either in ascending or descending order against a column by simply clicking the header. Sort multiple columns’ data by holding the Ctrl key + header click. In addition, you can define your own custom sorting logic based on the application needs in Blazor DataGrid.
Filtering helps view particular or related records that meet a given criteria in the data grid. The Blazor DataData supports various filter types, including powerful Excel-like filters. Choose the appropriate filter type, define your own custom filtering logic, and customize the filtering UI based on the application’s needs. Diacritic characters can also be filtered.
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.
The Blazor DataGrid provides full supports create, read, update, and delete operations (CRUD). In addition to built-in editor components to edit a particular column value, custom editor components can be created using templates according to the application’s needs. With the help of a data manager, you can perform editing operations with array collection or remote data service.
Group rows to display the data in an organized hierarchical structure in ascending or descending order to facilitate easier expansion and collapse of records. There is an option to group records of the desired column by simple drag and drop of that column in an interactive drop area.
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 group caption rows.
Frozen rows and columns are visible at the top and on the left, right, both , or fixed position, respectively, making the remaining grid content scrollable. This feature is mainly used to compare cell values in JavaScript DataGrid 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.
The Blazor Grid allows users to drag and drop rows to another DataGrid or custom component. Users can also drag and drop rows within the same DataGrid using the drag icon and transfer rows between different groups.
Blazor Master Detail Grid is a use-case scenario in which a record’s details are 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.
Row height is a major factor when displaying the number of records in the viewport, and it is easily customizable based on the application’s UI requirements. It is also possible to set row height conditionally.
The clipboard allows users to copy selected rows or cells’ data into it. Use the Ctrl+C and Ctrl+Shift+H key combinations to copy data with and without headers, respectively.
Performs various actions in a JavaScript DataGrid using the popup menu that appears when the cell, header, or pager is right-clicked. In addition to built-in default menu items, custom context menu items can be added.
Set the width and height properties to change the size of the data grid. When the content overflows the grid element, horizontal and vertical scrollbars will appear. To fill the data grid’s parent container, simply set the height and width to 100%.
Stacked headers allow grouping and visualizing column headers in a stacked manner. The number of columns that can be stacked is unlimited. Perform all Blazor Data Grid actions even when the columns are stacked.
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.
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.
The Blazor Grid 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 Grid features work on touch devices with zero configuration.
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 on different devices.
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 Opera.
The Syncfusion Blazor Grid component supports the following features:
We do not sell the Blazor DataGrid separately. It is only available for purchase as part of the Syncfusion team license, which contains over 85 Blazor components, including the DataGrid. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our Blazor DataGrid demo, which demonstrates how to render and configure the DataGrid.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor DataGrid, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their DataGrid component 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 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists 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, 5 or fewer developers, and 10 or fewer total employees.
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.
The Blazor tutorial videos and blog posts will guide you in creating your first app with the Blazor components. They’ll give you problem-solving ideas, describe features and their functionality, announce the new feature availability, explain Blazor components best practices, and describe example scenarios using the Blazor components. Check out our recent activity on our blog and tutorial video channels for Blazor.