Skip to main content
A newer version of this page is available. .

GridViewModel.ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetSummaryValuesHandler) Method

Delegates the implementation of 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.v19.2.dll

Declaration

public void ProcessCustomBinding(
    GridViewCustomBindingGetDataRowCountHandler getDataRowCountMethod,
    GridViewCustomBindingGetDataHandler getDataMethod,
    GridViewCustomBindingGetSummaryValuesHandler getSummaryValuesMethod
)

Parameters

Name Type Description
getDataRowCountMethod GridViewCustomBindingGetDataRowCountHandler

A GridViewCustomBindingGetDataRowCountHandler delegate method allowing you to implement custom processing to return the total number of data rows. Implementation is required.

getDataMethod GridViewCustomBindingGetDataHandler

A GridViewCustomBindingGetDataHandler delegate method allowing you to implement custom processing to return the data rows requested by the grid. Implementation is required.

getSummaryValuesMethod GridViewCustomBindingGetSummaryValuesHandler

A GridViewCustomBindingGetSummaryValuesHandler delegate method allowing you to implement custom processing to calculate and return values of summaries required within the grid. Implementation is optional. It is required if you use summaries within the grid.

Remarks

To learn more, refer to the following topics:

See Also