Adds a column to the list view control and returns the column header that appears at the top of the column.
public ColumnHeader addColumn( String str, int width, int textAlign )
str
The text that appears in the header for the new column.
width
The width, in pixels, of the new column.
textAlign
The text alignment setting for the new column. Possible return values are constants defined in the HorizontalAlignment class.
Returns a ColumnHeader object representing the header for the new column.
The new column is inserted to the right of existing columns. To insert a column into the list view control at a specific position, use the insertColumn method. Columns are visible only in Report view.
See Also removeColumn