Skip to main content

GridViewModel.ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetGroupingInfoHandler) 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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void ProcessCustomBinding(
    GridViewCustomBindingGetDataRowCountHandler getDataRowCountMethod,
    GridViewCustomBindingGetDataHandler getDataMethod,
    GridViewCustomBindingGetGroupingInfoHandler getGroupingInfoMethod
)

Parameters

Name Type Description
getDataRowCountMethod GridViewCustomBindingGetDataRowCountHandler

A delegate method that allows you to implement custom processing to return the total number of data rows.

getDataMethod GridViewCustomBindingGetDataHandler

A delegate method that allows you to implement custom processing to return the data rows requested by the grid.

getGroupingInfoMethod GridViewCustomBindingGetGroupingInfoHandler

A delegate method that allows you to return grouping information for group rows (the group value - key, and the number of data rows within the group - count).

Remarks

To learn more, refer to the following topics:

See Also