Column Types

To display data in our Blazor Data Grid, bind it to a data collection and add columns. You can define columns in the Data Grid's markup and cannot change the column collection at runtime. The Data Grid suppors the following predefined data column types:

Use the Field property to bind a column to a field from the Data Grid's data collection. The Data Grid generates a user-friendly column caption based on the field name. Use the Caption property to specify a custom column name.

Declare a DxDataGridCommandColumn object to add a command column. This columns contains data management buttons that allow users to create, edit, and remove rows. Click the Edit button in any row to see the integrated data editors displayed by the columns listed above.

YouTube Video: Column Customization

Monday, April 12, 2021 Cold 6 Sunny
Tuesday, April 13, 2021 Cold 5 Partly cloudy
Wednesday, April 14, 2021 Cold 7 Sunny
Thursday, April 15, 2021 Cold 4 Partly cloudy
Friday, April 16, 2021 Cold 4 Partly cloudy