TableViewer JFace / SWT multiline tables

Is it possible to get a multi-line (say, 2-line) row in a JFace tableViewer? I want my long piece of text to spread between two lines, and my short lines align vertically in the cell. How can I achieve this result?

+4
source share
1 answer

Table control itself does not support this. You will have to draw the contents of these cells yourself. In this case, the official example (Snippet006TableMultiLineCells) on how to do this.

+4
source

Source: https://habr.com/ru/post/1381032/


All Articles