VerticalGridModel.ProcessCustomBinding(VerticalGridCustomBindingGetDataColumnCountHandler, VerticalGridCustomBindingGetDataHandler, VerticalGridCustomBindingGetSummaryValuesHandler, VerticalGridCustomBindingGetUniqueHeaderFilterValuesHandler) Method
Delegates the implementation of the grid view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public void ProcessCustomBinding(
VerticalGridCustomBindingGetDataColumnCountHandler getDataColumnCountMethod,
VerticalGridCustomBindingGetDataHandler getDataMethod,
VerticalGridCustomBindingGetSummaryValuesHandler getSummaryValuesMethod,
VerticalGridCustomBindingGetUniqueHeaderFilterValuesHandler getUniqueHeaderFilterValuesMethod
)
Parameters
Name | Type | Description |
---|---|---|
getDataColumnCountMethod | VerticalGridCustomBindingGetDataColumnCountHandler | A VerticalGridCustomBindingGetDataColumnCountHandler delegate method allowing you to implement custom processing to return the total number of data columns. Implementation is required. |
getDataMethod | VerticalGridCustomBindingGetDataHandler | A VerticalGridCustomBindingGetDataHandler delegate method allowing you to implement custom processing to return the data columns requested by the grid. Implementation is required. |
getSummaryValuesMethod | VerticalGridCustomBindingGetSummaryValuesHandler | A VerticalGridCustomBindingGetSummaryValuesHandler delegate method allowing you to implement custom processing to calculate and return values of summaries required within the grid. Implementation is optional, but it is required if you use summaries within the grid. |
getUniqueHeaderFilterValuesMethod | VerticalGridCustomBindingGetUniqueHeaderFilterValuesHandler | A VerticalGridCustomBindingGetUniqueHeaderFilterValuesHandler delegate method allowing you to implement custom processing to return unique values to be displayed in the header filter dropdown list invoked for a grid row. Implementation is optional, but it is required if you display header filter buttons to use filtering within the grid. |
Remarks
To learn more, refer to the following topics:
- ProcessCustomBinding - Available Binding Delegates
- Custom Data Binding - Overview
- Implementation of Typed Method Delegates