Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Friday, April 26, 2024 Cold Sunny 5 41
Saturday, April 27, 2024 Cold Cloudy 7 44.6
Sunday, April 28, 2024 Cold Storm 4 39.2
Monday, April 29, 2024 Cold Sunny 4 39.2
Tuesday, April 30, 2024 Cold Cloudy 6 42.8
Wednesday, May 1, 2024 Cold Cloudy 11 51.8
Thursday, May 2, 2024 Warm Sunny 12 53.6
Friday, May 3, 2024 Warm Sunny 12 53.6
Saturday, May 4, 2024 Warm Sunny 13 55.4
Sunday, May 5, 2024 Warm Sunny 12 53.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.