Grid Lookup Templates

The ASPxGridLookup control has the embedded ASPxGridView’s data visualization functionality, which includes support for templates. Thus, ASPxGridLookup allows you to define templates for different elements of the built-in grid (such as data rows, data cells, and so on).

The image below illustrates how to use a template for the drop-down grid’s data rows (the GridViewProperties.Templates.DataRow property) to modify the editor’s list item layout.

gridlookup-templates.png

See the following topic to learn more on which grid elements can be templated: Grid Elements that Support Templates. Use the editor’s GridViewProperties.Templates property to access the grid control’s template properties. You can define column level templates for individual columns contained within the editor’s ASPxGridLookup.Columns collection.

Example

How to: Create an Item Template