Using a DelegatingStyledCellLabelProvider with an ITableLabelProvider

85 views Asked by At

I am trying to style specific cells in my table that have a specific attribute. I have used a DelegatingStyledCellLabelProvider in the past for a Tree structure, and was hoping to do the same here.

However, I can't figure out how to get it working with my ITableLabelProvider.

I saw questions like this one that suggested using IColumnLabelProviders instead of the ITableLabelProvider, but I really don't want to go back and change my code.

Is there anything I can do?

1

There are 1 answers

2
greg-449 On BEST ANSWER

DelegatingStyledCellLabelProvider will not work with the old style ITableLabelProvider as it does not support multiple columns. You must use separate column label providers.