# A3DPDFDataTableSetInitIndex

A3DStatus `A3DPDFDataTableSetInitIndex`(A3DPDFDataTable *pDataTable, A3DInt32 iInitIndex)
  `A3DStatus` A3DPDFDataTableSetInitIndex(`A3DPDFDataTable`* pDataTable, `A3DInt32` iInitIndex)

  Function to set the property iInitIndex on DataTable object.

  By default, a -1 value is defined. If it is defined here, the table row at index iInitIndex is ‘selected’ at init time (when the document is opened), or when the table is reset. A table is typically reset when a bound widget is unselected. A widget bound to this table have to be defined with a NULL source and `kA3DPDFDataSelect`behaviour to be automatically selected at init time (see `A3DPDFWidgetSetTargetBehaviour()`).

  Parameters

  > pDataTable: The DataTable object.

  > iInitIndex: The index to set.

  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...