Templates

The ASPxGridLookup control exposes the embedded ASPxGridView's powerful data representation functionality, including support for templates. Thus, ASPxGridLookup provides you with the capability to define templates for different elements of the built-in grid (such as data rows, data cells, etc.).

The image below illustrates how the editor list items' layout can be modified by creating a template for the dropdown grid's data rows via the GridViewProperties.Templates.DataRow (GridViewTemplates.DataRow) property.

gridlookup-templates.png

See the Grid Elements that Support Templates topic to learn more on which grid elements can be templated. Grid control template properties can be accessed via the editor's GridViewProperties.Templates property. Column level templates can be defined for individual columns contained within the editor's ASPxGridLookup.Columns collection.

Example

How to: Item Template