VerticalGridCustomBindingGetDataColumnCountArgs.DataColumnCount Property

Gets or sets the total number of data columns within a custom model, taking into account the filtering applied within the VerticalGrid (if any).

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public int DataColumnCount { get; set; }

Property Value

Type Description

An integer value specifying the total number of data columns within a model.


Assign the DataColumnCount property with the total number of columns in your model. The returned total number should depend upon the filtering conditions (if they were applied to the grid). Use the VerticalGridCustomBindingArgsBase.FilterExpression property to obtain the grid’s filter expression and apply it to your model to obtain the proper number of columns that comply with the filter.

Refer to Implementation of Typed Method Delegates to learn more.

See Also