Column width (script)

Use setColumnWidth(num) method to set the width for all columns

	grid.setColumnWidth(50); // set width to 50px (all columns) 

Use setColumnWidth(num, col) method to set the width for the single column

	grid.setColumnWidth(50, 0); // set column-0 width to 50px 

Use setColumnWidth(array) method to set the widths for all columns with array

	grid.setColumnWidth([50, 100, 75, 30, 100]); // set column widths using array 

Back to column examples, all examples