Row/column selection and printing in a TableViewer [message #326976] |
Thu, 03 April 2008 19:44 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: x_raajes.ugs.com
Are there any examples of how to enable column selection in a TableViewer?
The following illustration may clarify what I am looking for:
From a table such as the one shown below:
| Header1 | Header 2 | Header 3|
| A1 | A2 | A3 |
| B1 | B2 | B3 |
| C1 | C2 | C3 |
| D1 | D2 | D3 |
| E1 | E2 | E3 |
| F1 | F2 | F3 |
I want to be able to control-select B1, B2, C1, C2, D1, D2, and print them.
It should also be possible to select a whole row (default behavior) and
print it. Does anyone know if this is possible, and if there are any
examples that show this?
I am also looking for an example on how to print the contents of the table
from a TableViewer.
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.02973 seconds