Object Reference : Object View and Procedure Reference : Group
  
 
setwidth
Set the column width for selected columns in a group spreadsheet.
Syntax
group_name.setwidth(col_range) width_arg
where col_range is either a single column number or letter (e.g., “5”, “E”), a colon delimited range of columns (from low to high, e.g., “3:5”, “C:E”), or the keyword “@ALL”, and width_arg specifies the width unit value. The width unit is computed from representative characters in the default font for the current spreadsheet (the EViews spreadsheet default font at the time the spreadsheet was created), and corresponds roughly to a single character. width_arg values may be non-integer values with resolution up to 1/10 of a width unit.
Examples
gr1.setwidth(2) 12
sets the width of column 2 to 12 width units.
gr1.setwidth(2:10) 20
sets the widths for columns 2 through 10 to 20 width units.
Cross-references
See Group::setindent and Group::setjust for details on setting spreadsheet indentation and justification.