Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Friday, November 22, 2024 Cold Partly cloudy -2 28.4
Saturday, November 23, 2024 Freezing Storm -4 24.8
Sunday, November 24, 2024 Cold Sunny -4 24.8
Monday, November 25, 2024 Cold Partly cloudy -2 28.4
Tuesday, November 26, 2024 Cold Partly cloudy -4 24.8
Wednesday, November 27, 2024 Cold Cloudy -4 24.8
Thursday, November 28, 2024 Cold Cloudy -4 24.8
Friday, November 29, 2024 Freezing Storm -4 24.8
Saturday, November 30, 2024 Cold Partly cloudy -2 28.4
Sunday, December 1, 2024 Cold Partly cloudy -8 17.6
Monday, December 2, 2024 Freezing Storm -10 14
Tuesday, December 3, 2024 Cold Sunny -10 14
Wednesday, December 4, 2024 Freezing Cloudy -11 12.2
Thursday, December 5, 2024 Freezing Partly cloudy -10 14
Friday, December 6, 2024 Cold Sunny -9 15.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.