For the latest version of JMP Help, visit JMP.com/help.


Publication date: 04/28/2021

Tabulate

obj<<Display Column Width(<Data Column(Column Table(n),<column name path>), Row Label(Row Table(n), <column name path>)>, <width>)

Returns or sets the display pixel width of a column in a Tabulate table.

Required Argument

Row Label

Use Row Table and heading for columns in the row labels area.

Optional Arguments

Data Column

Use Column Table and column references to define columns in the main body of the table.

column name path

Specifies the Column Table or Row Table (both quoted), and the series of column headings that traces the path of the column. Note: Column Table or Row Table can be omitted if the table referenced is the first table.

width

Specifies the pixel width of the column.

Examples

dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
obj = dt << Tabulate(
	Add Table(
		Column Table(
			Grouping Columns( :sex, :marital status ),
			Analysis Columns( :age ),
			Statistics( Sum, "% of Total" )
		),
		Row Table( Grouping Columns( :type ) ),
		Row Table( Grouping Columns( :country, :size ) )
	)
);
Wait( 3 ); // for demonstration purposes
obj << Display Column Width( Row Label( Row Table( 2 ), "country" ), 150 );
Wait( 3 ); // for demonstration purposes
obj << Display Column Width(
	Data Column(
		Column Table( 1 ),
		"sex",
		"Female",
		"marital status",
		"Married",
		"age",
		"Sum"
	),
	150
);
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).