User's Guide > User Interface: Dialogs > Table > Table Column Functions
Table Column Functions
Functions Introduced
Use the function ProUITableColumnIndexGet() to get the column index for a given column.
Use the function ProUITableColumnRename() to rename a table column.
Use the function ProUITableColumnLabelSet() to set the user visible label for the column.
Use the function ProUITableColumnLabelGet() to get the user-visible label for the column.
Use the function ProUITableColumnWidthSet() to set the width of the column in the table.
Use the function ProUITableColumnWidthGet() to get the width of the column in the table.
Use the function ProUITableColumnResizingFactorSet() to set the resizing factor of the column in the table.
Use the function ProUITableColumnResizingFactorGet() to get the resizing factor of the column in the table.
Use the function ProUITableColumnsInsert() to insert one or more columns into the table.
Use the function ProUITableColumnsDelete() to delete one or more columns from the table.
Use the function ProUITableColumnCellsSelect() to select the cells of the given columns in the table.
Use the function ProUITableColumnCellsDeselect() to deselect the cells of the given columns in the table.
Use the function ProUITableResetColumnWidth() to set the column width to the default.
Example 6: To Access and Modify Names and Labels for the Table Rows and Columns
The sample code in UgUITables.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_ui shows how to access and modify names and labels for the Table rows and columns and also to access, allocate and free the string and wide string arrays.
Was this helpful?