A3DPDFDataFilterWidgetBindToTable
-
A3DStatus
A3DPDFDataFilterWidgetBindToTable(A3DPDFDataFilter *pDataFilter, A3DPDFDataTable *pDataTable, const A3DInt32 iSizeMap, const A3DInt32 *piMapColumns, const A3DUTF8Char *pcValueNoFilterApplied) A3DStatusA3DPDFDataFilterWidgetBindToTable(A3DPDFDataFilter* pDataFilter,A3DPDFDataTable* pDataTable, constA3DInt32iSizeMap, constA3DInt32* piMapColumns, constA3DUTF8Char* pcValueNoFilterApplied)Function to bind a filter widget to a table.
Parameters
pDataFilter: The filter widget object to bind to a table.
pDataTable: The Data Table object to bind the widget to.
iSizeMap: Size of the following array
piMapColumns: Array of indexes (starting from 0) of column mapped to this widget.
pcValueNoFilterApplied: If the filter widget is a drop down list, pcNoFilterApplied is the value to add as first row of the widget. If pcValueNoFilterApplied is specified, selecting the first row of the widget disables the filters. If pcValueNoFilterApplied is not specified, a filter is always applied (there is no ‘nofilter’ state ; default is first row).
Returns
A3D_SUCCESS in case of success or an error code