HTML View
The name of this view may lead to some confusion. RadGridView does not support HTML rendering, and there are no plans to support it. This view enables using row layout similar to the one existing in HTML tables. In fact, you can take an existing HTML table and use its HTML code in RadGridView. Sometimes this can save a lot of work. Just change the cell text to be the unique name of the desired column.
To use an HTML view we should instantiate HtmlViewDefinition and add the desired rows and cells.
Add rows and cells
The HtmlViewDefinition adds row and column spanning feature like in HTML table. This features enables spanning cells across more than one column or row. To specify a column spanning, set the ColSpan property of the CellDefinition:
Set column spans
The RowSpan property sets the row spanning:
Set row spans
You have to set the Height property of the RowDefinition to change the row height:
Set row height.
Using HTML-like syntax:
Use HTML template
At the end simply set the ViewDefinitions property to the newly created ViewDefinition instance.
You need to assign the view definition to the ViewDefinition property of RadGridView as described in theoverview section.
You need to either create the columns manually or supply a data source which will generate them.