Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Thursday, March 23, 2023 Cold Storm 0 32
Friday, March 24, 2023 Cold Sunny 2 35.6
Saturday, March 25, 2023 Cold Sunny 4 39.2
Sunday, March 26, 2023 Cold Sunny 4 39.2
Monday, March 27, 2023 Cold Sunny 5 41
Tuesday, March 28, 2023 Cold Cloudy 2 35.6
Wednesday, March 29, 2023 Cold Partly cloudy 1 33.8
Thursday, March 30, 2023 Cold Cloudy 3 37.4
Friday, March 31, 2023 Cold Partly cloudy 4 39.2
Saturday, April 1, 2023 Cold Sunny 6 42.8

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.