#include <Wt/WTableColumn>

Public Member Functions | |
| WTable * | table () const |
| The table to which this column belongs. | |
| int | columnNum () const |
| The column number of this column in the table. | |
| void | setWidth (const WLength &width) |
| Set the column width. | |
| WLength | width () const |
| Get the column width. | |
| void | setStyleClass (const WString &style) |
| Set the CSS style class for this column. | |
| const WString & | styleClass () const |
| Get the CSS style class for this column. | |
A table column is not a widget -- it only has a logistic function, for managing various properties of a single column in a table.
You cannot access table cells through the column. Instead, to access table cells, see WTable::elementAt().
| WTable* Wt::WTableColumn::table | ( | ) | const [inline] |
| int Wt::WTableColumn::columnNum | ( | ) | const |
| void Wt::WTableColumn::setWidth | ( | const WLength & | width | ) |
Set the column width.
The default column width is 'auto' (WLength()).
| WLength Wt::WTableColumn::width | ( | ) | const |
| void Wt::WTableColumn::setStyleClass | ( | const WString & | style | ) |
Set the CSS style class for this column.
The style is inherited by all table cells in this column.
| const WString& Wt::WTableColumn::styleClass | ( | ) | const [inline] |
1.5.3