Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Saturday, April 27, 2024 Cold Sunny 4 39.2
Sunday, April 28, 2024 Cold Sunny 4 39.2
Monday, April 29, 2024 Cold Sunny 5 41
Tuesday, April 30, 2024 Cold Sunny 7 44.6
Wednesday, May 1, 2024 Warm Sunny 15 59
Thursday, May 2, 2024 Warm Partly cloudy 14 57.2
Friday, May 3, 2024 Warm Sunny 12 53.6
Saturday, May 4, 2024 Cold Partly cloudy 11 51.8
Sunday, May 5, 2024 Cold Partly cloudy 11 51.8
Monday, May 6, 2024 Warm Sunny 11 51.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.