SAP GUI Functions (SAPGUI) > Alphabetical List of Functions > sapgui_table_set_column_width

sapgui_table_set_column_width

Example: sapgui_table_set_column_width Table Functions

Selects a table column width.

int sapgui_table_set_column_width( const char *description, const char *tableID, const char *column, const char *width, [args,] LAST );
description User entered text to aid in understanding script
tableID Object ID Strings
column Column number. the first column is numbered zero.
width The new width in characters
args Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_table_set_column_width emulates a user dragging the edge of a column header in a table.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

Parameterization

You can parameterize all string (char type) arguments.