Different types of columns that exist in DataGrid
What are the different types of columns that exist in DataGrid?
The different column types used in DataGrid are as follows:
- BoundColumn: this type is used to display the field in a data source. The field consists of an item in the form of text. This is the default column type in DataGrid control.
- ButtonColumn: this type is used to display the column that consists of editing commands used in the column.
- HyperLinkColumn: this type displays the content of item in the column as a hyperlink. The content can be in the form of a text or it can have an association with other fields.
- TemplateColumn: this type displays the item according the template and it also allow the creation of custom controls for the templates.