GridLookupViewModel.ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetRowValuesHandler) Method
Delegates the implementation of the GridLookup’s 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.v18.2.dll
Declaration
public void ProcessCustomBinding(
GridViewCustomBindingGetDataRowCountHandler getDataRowCountMethod,
GridViewCustomBindingGetDataHandler getDataMethod,
GridViewCustomBindingGetRowValuesHandler getRowValueMethod
)
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. |
getRowValueMethod | GridViewCustomBindingGetRowValuesHandler | A GridViewCustomBindingGetRowValuesHandler delegate method allowing you to return data of the selected rows within the GridLookup’s built-in grid. Implementation is optional. It is required if you use the GridLookup in multi-selection mode. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetRowValuesHandler) 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.