GridLookupViewModel.ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetSummaryValuesHandler, GridViewCustomBindingGetGroupingInfoHandler, GridViewCustomBindingGetUniqueHeaderFilterValuesHandler, 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.v24.2.dll
Declaration
public void ProcessCustomBinding(
GridViewCustomBindingGetDataRowCountHandler getDataRowCountMethod,
GridViewCustomBindingGetDataHandler getDataMethod,
GridViewCustomBindingGetSummaryValuesHandler getSummaryValuesMethod,
GridViewCustomBindingGetGroupingInfoHandler getGroupingInfoMethod,
GridViewCustomBindingGetUniqueHeaderFilterValuesHandler getUniqueHeaderFilterValuesMethod,
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. |
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. |
getGroupingInfoMethod | GridViewCustomBindingGetGroupingInfoHandler | A GridViewCustomBindingGetGroupingInfoHandler delegate method allowing you to implement custom processing to return grouping information for group rows (the group value (key), and the number of data rows within the group (count)). Implementation is optional, it is required if you use grouping within the grid. |
getUniqueHeaderFilterValuesMethod | GridViewCustomBindingGetUniqueHeaderFilterValuesHandler | A GridViewCustomBindingGetUniqueHeaderFilterValuesHandler 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 column. Implementation is optional, it is required if you display header filter buttons to use filtering within the grid. |
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. |