A3DPDFButtonBindToTable
-
A3DStatus
A3DPDFButtonBindToTable(A3DPDFButton *pButton, A3DPDFDataTable *pDataTable, const A3DInt32 iSizeMap, const A3DInt32 *piMapColumns) A3DStatusA3DPDFButtonBindToTable(A3DPDFButton* pButton,A3DPDFDataTable* pDataTable, constA3DInt32iSizeMap, constA3DInt32* piMapColumns)Function to bind a widget button to a table.
The button can be bound to two columns types: index 0 is for the icon id for button. index 1 is optional and is for the label of the button.
Parameters
pButton: The Widget text field 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.
Returns
A3D_SUCCESS in case of success or an error code