GridViewModel.ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler) 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.2.dll
Declaration
public void ProcessCustomBinding(
GridViewCustomBindingGetDataRowCountHandler getDataRowCountMethod,
GridViewCustomBindingGetDataHandler getDataMethod
)
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. |
Remarks
To learn more, refer to the following topics:
- ProcessCustomBinding - Available Binding Delegates
- Custom Data Binding - Overview
- Implementation of Typed Method Delegates
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.