Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Tuesday, September 26, 2023 Warm Sunny 16 60.8
Wednesday, September 27, 2023 Warm Partly cloudy 17 62.6
Thursday, September 28, 2023 Warm Sunny 18 64.4
Friday, September 29, 2023 Warm Sunny 16 60.8
Saturday, September 30, 2023 Warm Sunny 13 55.4
Sunday, October 1, 2023 Cold Cloudy 3 37.4
Monday, October 2, 2023 Cold Cloudy 4 39.2
Tuesday, October 3, 2023 Cold Cloudy 3 37.4
Wednesday, October 4, 2023 Cold Partly cloudy 1 33.8
Thursday, October 5, 2023 Cold Sunny 2 35.6

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.