How to hide lines between cell in JFACE TableViewer?

209 views Asked by At

I have search in various places but it seems this is not possible to hide the lines between colums or rows. I want to modify the appearance, not to delete a column or a row. Do you have an idea or a place to search ? Thanks.

2

There are 2 answers

1
greg-449 On

The Table setLinesVisible method controls the visibility of the lines:

TableViewer viewer = .... your viewer

viewer.getTable().setLinesVisible(false);
0
Gpac On

I have found the following answer it gives a workaround that works fine for me : SWT Table.setLinesVisible(false) does not seem to work on Windows 7 Si I close this discussion.