company logo

Cell :: columnId - Column identifier

The column identifier is the resource identifier for the column (LOID) when being read from the resource or an internal number when the column has been created by the application. Usually, columns are assigned by name or by position, but columns created in an application are usually assigned by identifier.

Return value:  Column identifier ( int64  )

The column identifier is either the resource identity for the column definition (in case the column has been created from an external resource) or the internal column identifier returned from the ControlContext::addColumn() function.

Implementation overview

Implementation details

  1. Get column identifier for cell
    int64 Cell  :: columnId (  )

    The function returns the column identifier for the list item currently attached to the parent line. When no list item is attached to the parent line, the function throws an exception.

  2. to list
  3. Set column by column identifier
    int64 Cell  :: columnId ( int64 iColumnID )

    The function allows attaching a new data item for the currently attached list item in the parent line. When no list item is attached to the parent line, or when a column with the identifier passed in iColumnID could not be found, the function throws an exception.

    • iColumnID - Column identifier

      The column identifier is either the resource identity for the column definition (in case the column has been created from an external resource) or the internal column identifier returned from the ControlContext::addColumn() function.

  4. to list