A WTable corresponds to an HTML <table>
element, and organizes content in a tabular structure.
The WTable widget uses the companion classes WTableRow and WTableColumn to represent table rows
(<tr>) and columns (<td>). Each
table cell corresponds to a WTableCell widget, which is a specialized
WContainerWidget.
An example of a WTable:
While flexible, in many cases Wt provides more specialized
widgets to deal with certain uses of WTable.
If you want to create a tabular layout you should consider the
WGridLayout
layout class instead. If you wish to present a lot of data in a
table, you can also use one of the Model-View-Classes (WTreeView,
WTableView or
Ext::TableView), as
these may offer a higher performance and other benefits such as
controls for interactive column resizing and headers.