Data Binding

 
Date Forecast Cloud Cover Temp. (℃) Temp. (℉)
Friday, June 14, 2024 Warm Sunny 17 62.6
Saturday, June 15, 2024 Warm Sunny 15 59
Sunday, June 16, 2024 Warm Sunny 13 55.4
Monday, June 17, 2024 Warm Sunny 13 55.4
Tuesday, June 18, 2024 Warm Sunny 13 55.4
Wednesday, June 19, 2024 Warm Sunny 13 55.4
Thursday, June 20, 2024 Warm Partly cloudy 15 59
Friday, June 21, 2024 Cold Partly cloudy 13 55.4
Saturday, June 22, 2024 Cold Partly cloudy 13 55.4
Sunday, June 23, 2024 Warm Sunny 15 59
Monday, June 24, 2024 Warm Sunny 15 59
Tuesday, June 25, 2024 Warm Sunny 17 62.6
Wednesday, June 26, 2024 Warm Partly cloudy 18 64.4
Thursday, June 27, 2024 Warm Partly cloudy 16 60.8
Friday, June 28, 2024 Warm Sunny 18 64.4
Data grid with 15 rows and 5 columns

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.