Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Saturday, November 23, 2024 Cold Sunny -3 26.6
Sunday, November 24, 2024 Cold Partly cloudy -1 30.2
Monday, November 25, 2024 Cold Sunny 1 33.8
Tuesday, November 26, 2024 Cold Partly cloudy -2 28.4
Wednesday, November 27, 2024 Cold Sunny -2 28.4
Thursday, November 28, 2024 Cold Sunny -3 26.6
Friday, November 29, 2024 Cold Sunny -3 26.6
Saturday, November 30, 2024 Cold Sunny -4 24.8
Sunday, December 1, 2024 Cold Partly cloudy -8 17.6
Monday, December 2, 2024 Cold Sunny -11 12.2
Tuesday, December 3, 2024 Freezing Partly cloudy -13 8.6
Wednesday, December 4, 2024 Freezing Partly cloudy -13 8.6
Thursday, December 5, 2024 Cold Sunny -12 10.4
Friday, December 6, 2024 Freezing Sunny -13 8.6
Saturday, December 7, 2024 Freezing Sunny -13 8.6
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.