Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Sunday, December 22, 2024 Freezing Sunny -13 8.6
Monday, December 23, 2024 Freezing Cloudy -13 8.6
Tuesday, December 24, 2024 Freezing Sunny -13 8.6
Wednesday, December 25, 2024 Freezing Cloudy -13 8.6
Thursday, December 26, 2024 Freezing Sunny -13 8.6
Friday, December 27, 2024 Freezing Sunny -13 8.6
Saturday, December 28, 2024 Cold Sunny -12 10.4
Sunday, December 29, 2024 Freezing Cloudy -13 8.6
Monday, December 30, 2024 Cold Sunny -11 12.2
Tuesday, December 31, 2024 Cold Sunny -11 12.2
Wednesday, January 1, 2025 Cold Sunny -7 19.4
Thursday, January 2, 2025 Freezing Storm -10 14
Friday, January 3, 2025 Cold Sunny -12 10.4
Saturday, January 4, 2025 Freezing Cloudy -12 10.4
Sunday, January 5, 2025 Freezing Partly cloudy -14 6.8
Data grid with 15 rows and 5 columns

Our Blazor Grid is a data-aware component that allows you to display and manage tabular data with absolute ease. In this demo, the DevExpress Blazor Grid is bound to a data collection available during synchronous component initialization. To replicate this sample, bind the Data parameter to a C# field or property and populate this field or property with data inside the OnInitialized lifecycle method.

To display data within the Blazor Grid, declare DxGridDataColumn objects in the Columns template and use each object's FieldName property to assign data fields.