New to Telerik UI for WinForms? Start a free 30-day trial
View Definitions Overview
Updated over 6 months ago
You can change RadGridView visual appearance and behavior by using a view definition. To define the view definition you have to set the ViewDefinition.
Assign ViewDefinition
C#
this.radGridView1.ViewDefinition = myDefinition;
All view definitions implement the IViewDefinition interface and you could create your own definitions, if you wish. Three different view definitions are currently included:
-
TableViewDefinition: this is the default view definition.
-
ColumnGroupsViewDefinition: enables grouping of columns and multiple rows in one row.
-
HtmlViewDefinition: uses layout similar to the one existing in HTML tables.
Figure 1: ColumnGroupsViewDefinition

Figure 2: HtmlViewDefinition
