Reputation: 177
How can I add "row headers" to a Jface TableViewer
?
Upvotes: 1
Views: 1691
Reputation: 36904
Have a look at the Grid
widget from the Nebula Project.
It does support "row headers".
Upvotes: 2
Reputation: 3241
A TableViewer does not by default provide this capability. But you can have a look at this snippet
to achieve something similar to a row header. This example uses two tables to make the first column fixed and rest of the columns horizontally scrollable. If you do not want fixed columns than you can just use different colors for columns to achieve the look and feel of a row header.
Upvotes: 1