You can display a table widget as the child of another table widget.
The nested table, the table that displays within the parent table, is associated with a table item. Its size is set by the application and its location is adjusted by the parent table when a user scrolls through it. You cannot create a nested table that is larger than the parent table. If you do, the size of the nested table is automatically reduced to fit within the parent table.
Use the following constructor of the STable
class to make a Table widget that displays within another table.
public STable(STableItem parent, int style)
This constructor method establishes the relationship of a nested table, a parent table item, and the parent table.
Parent topic: Custom table control
table = new STable(_parentItem,
SWT.TITLE|SWT.SHADOW_IN | SWT.MULTI | SWT.HIDE_SELECTION );