Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGrid.CreateView(TcxCustomGridViewClass) Method

Creates a View of a specified class and adds it to the View list.

#Declaration

Delphi
function CreateView(AViewClass: TcxCustomGridViewClass): TcxCustomGridView;

#Parameters

Name Type
AViewClass TcxCustomGridViewClass

#Returns

Type
TcxCustomGridView

#Remarks

The CreateView function creates a particular View, adds it to the View list specified by the Views property and returns it as the function’s result. The View class is defined by the AViewClass parameter. You can refer to the Views topic to learn about different View classes.

To display a View within a grid control, it must be assigned to a grid level of the TcxGridLevel class.

See Also