Object Reference : Object View and Procedure Reference : Table
Set the display justification for cells in table views.
table_name.setjust(cell_range) format_arg
where format_arg is a set of arguments used to specify format settings. You should enclose the format_arg in double quotes if it contains any spaces or delimiters.
The cell_range defines the cells to be modified. See Table::setformat for the syntax for cell_range specifications.
The format_arg may be formed using the following:
top / middle / bottom
Vertical justification setting.
auto / left / center / right
Horizontal justification setting. “Auto” uses left justification for strings, and right for numbers.
You may enter one or both of the justification settings. The default settings are taken from the original view when created by freezing a view, or as “middle bottom” for newly created tables.
To set the justification, you must provide a valid cell specification:
tab1.setjust(@all) top
tab1.setjust(2,B,10,D) left bottom
tab1.setjust(R2C2:R4C4) right top
See Table::setwidth, Table::setheight, and Table::setindent for details on setting table widths, height and justification.
For additional discussion of table commands see “Working with Tables and Spreadsheets”.
See also “Table and Text Objects” for a discussion and examples of table formatting in EViews.