Reputation: 594
I'm trying to add a div to the table column header, but this does not affected.
TableColumn column = table.getColumn(columnIndex);
column.setData(RWT.MARKUP_ENABLED, Boolean.TRUE);
column.setAlignment(SWT.CENTER);
column.setWidth(COLUMN_WIDTH);
column.setResizable(Boolean.FALSE);
column.setText("<div></div>");
Upvotes: 2
Views: 186
Reputation: 21025
Markup can only be applied to TableItem
s. Table columns currently don't support markup.
If you think you have a valid use case, you may want to open an enhancement request here: https://eclipse.org/rap/bugs/
Upvotes: 2