A3DPDFDataTableSetInitIndex
-
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
kA3DPDFDataSelectbehaviour to be automatically selected at init time (seeA3DPDFWidgetSetTargetBehaviour()).Parameters
pDataTable: The DataTable object.
iInitIndex: The index to set.
Returns
A3D_SUCCESS in case of success or an error code