
##############################
A3DPDFWidgetBindColumnsActions
##############################

.. c:function:: A3DStatus A3DPDFWidgetBindColumnsActions(A3DPDFWidget *pWidget, const A3DInt32 iSizeMap, const A3DInt32 *piMapColumns)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFWidgetBindColumnsActions(:c:type:`~A3DPDFWidget`\ * **pWidget**\ , *const* :c:type:`~A3DInt32` **iSizeMap**\ , *const* :c:type:`~A3DInt32`\ * **piMapColumns**\ )
   
   Function to define some custom actions on row widgets which are not visible on the widget and were not mapped with a BindToTable function. 
   
   This function should be called in addition to another BindToTable function. The columns associated must define custom actions, formatted as a json string with a property named 'actionrowcustomjs'and a property value defining javascript code. Note that double quotes should be prefixed with a '\', as well as backslashes. For example, the content of the data table cell could be: "{ \"actionrowcustomjs\" : \"console.println(\\\"here is an action to run\\\");\" }" Several actions can be defined , they will be executed in the order of the map.
   
   **Parameters**
   
   
      **pWidget**\ : The widget object to bind to a table. 
   
      **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
   
   




