Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Row/column selection and printing in a TableViewer
Row/column selection and printing in a TableViewer [message #326976] Thu, 03 April 2008 19:44
Eclipse UserFriend
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.
Previous Topic:Can plugin.xml be relocated to a subdirectory?
Next Topic:Project export/import and the "derived" flag
Goto Forum:
  


Current Time: Thu Aug 29 23:33:01 GMT 2024

Powered by FUDForum. Page generated in 0.02973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top