
#######################
A3DPDFButtonBindToTable
#######################

.. c:function:: A3DStatus A3DPDFButtonBindToTable(A3DPDFButton *pButton, A3DPDFDataTable *pDataTable, const A3DInt32 iSizeMap, const A3DInt32 *piMapColumns)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFButtonBindToTable(:c:type:`~A3DPDFButton`\ \* **pButton**\ , :c:type:`~A3DPDFDataTable`\ \* **pDataTable**\ , *const* :c:type:`~A3DInt32` **iSizeMap**\ , *const* :c:type:`~A3DInt32`\ \* **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
   
   




