Wt::WTableRow Class Reference
A row in a
WTable.
More...
#include <Wt/WTableRow>
List of all members.
|
Public Member Functions |
WTable * | table () const |
| The table to which this row belongs.
|
int | rowNum () const |
| The row number of this row in the table.
|
void | setHeight (const WLength &height) |
| Set the row height.
|
WLength | height () const |
| Get the row height.
|
void | setStyleClass (const WString &style) |
| Set the CSS style class for this row.
|
const WString & | styleClass () const |
| Get the CSS style class for this row.
|
void | setHidden (bool how) |
| Set whether the row must be hidden.
|
bool | isHidden () const |
| Return whether the rows is hidden.
|
void | hide () |
| Hide the row.
|
void | show () |
| Show the row.
|
Detailed Description
A row in a
WTable.
A WTableRow is returned by WTable::rowAt() and managing various properties of a single row in a table (it is however not a widget).
You cannot access table cells through the row. Instead, to access table cells, see WTable::elementAt().
A table row corresponds to the HTML <tr>
tag.
- See also:
- WTable, WTableColumn
Member Function Documentation
WTable* Wt::WTableRow::table |
( |
|
) |
const [inline] |
int Wt::WTableRow::rowNum |
( |
|
) |
const |
void Wt::WTableRow::setHeight |
( |
const WLength & |
height |
) |
|
WLength Wt::WTableRow::height |
( |
|
) |
const |
void Wt::WTableRow::setStyleClass |
( |
const WString & |
style |
) |
|
const WString& Wt::WTableRow::styleClass |
( |
|
) |
const [inline] |
void Wt::WTableRow::setHidden |
( |
bool |
how |
) |
|
Set whether the row must be hidden.
Hide or show the row.
The default value is false (row is not hidden).
- See also:
- hide(), show()
bool Wt::WTableRow::isHidden |
( |
|
) |
const [inline] |
Return whether the rows is hidden.
- See also:
- setHidden()
void Wt::WTableRow::hide |
( |
|
) |
|
void Wt::WTableRow::show |
( |
|
) |
|