Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Tuesday, March 18, 2025 Cold Sunny 6 42.8
Wednesday, March 19, 2025 Cold Partly cloudy 7 44.6
Thursday, March 20, 2025 Cold Cloudy 7 44.6
Friday, March 21, 2025 Cold Storm 5 41
Saturday, March 22, 2025 Cold Cloudy 7 44.6
Sunday, March 23, 2025 Cold Partly cloudy 4 39.2
Monday, March 24, 2025 Cold Sunny 3 37.4
Tuesday, March 25, 2025 Cold Sunny 5 41
Wednesday, March 26, 2025 Cold Storm 5 41
Thursday, March 27, 2025 Cold Sunny 5 41
Friday, March 28, 2025 Cold Partly cloudy 5 41
Saturday, March 29, 2025 Cold Sunny 4 39.2
Sunday, March 30, 2025 Cold Sunny 1 33.8
Monday, March 31, 2025 Cold Sunny 2 35.6
Tuesday, April 1, 2025 Cold Partly cloudy 7 44.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.