# A3DPDFObjectDataTableCreate

A3DStatus `A3DPDFObjectDataTableCreate`(A3DPDFDocument *pDoc, const A3DPDFDataTableData *pDataTableData, A3DPDFObjectDataTable **ppDataTable)
  `A3DStatus` A3DPDFObjectDataTableCreate(`A3DPDFDocument`* pDoc, const `A3DPDFDataTableData`* pDataTableData, `A3DPDFObjectDataTable`** ppDataTable)

  Function to create a Object DataTable.

  An Ojbect DataTable is a specific data table that contain objects instead of just text. An Object define a set of properties and related values ; it is formatted as follows : { property1: valueproperty1, property2: valueproperty2, … }Supported properties are:

  - caption : the text of the field
  - icon : the icon id to store on the field when the field is defined as image holder (button)
  - actionurl : an url to be launched when the user clicks on the cell
  - actionjs : a javascript code to be launched when the user clicks on the cell
  - actionjscallback : the name of a javascript function stored on the document. This callback function is called when the user clicks on the cell, with the arguments : tablerowindex, tablecolindex, userdata (see actionjscallbackdata)
  - actionjscallbackdata : the third argument provided to the callback function actionjscallback

  Properties actionurl, actionjs, or actionjscallback can be used to define an action on a table cell. If an action is defined on a cell: when the user clicks on the cell, the row selected is unhighlighted and the action is launched. If no action is defined on the cell: when the user clicks on the cell, the row selected is highlighted and the datamodel action linked to the row is launched (typically invoking other widgets on the page bound on linked tables).

  Parameters

  > pDoc: The Document object to work with.

  > pDataTableData: The DataTable parameters.

  > ppDataTable: The DataTable object created.

  Returns

  > A3D_SUCCESS in case of success or an error code

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...