Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Sunday, September 24, 2023 Cold Storm 10 50
Monday, September 25, 2023 Cold Partly cloudy 11 51.8
Tuesday, September 26, 2023 Cold Partly cloudy 10 50
Wednesday, September 27, 2023 Cold Cloudy 11 51.8
Thursday, September 28, 2023 Cold Sunny 10 50
Friday, September 29, 2023 Cold Storm 10 50
Saturday, September 30, 2023 Warm Sunny 12 53.6
Sunday, October 1, 2023 Cold Sunny 2 35.6
Monday, October 2, 2023 Cold Cloudy 1 33.8
Tuesday, October 3, 2023 Cold Partly cloudy 3 37.4

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.