Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid: GridViewer selection service does not support cell selection
Grid: GridViewer selection service does not support cell selection [message #591710] Tue, 12 August 2008 18:33
David Kyle is currently offline David KyleFriend
Messages: 125
Registered: July 2009
Senior Member
I'm using GridViewer in Eclipse 3.3.

viewer = new GridTableViewer(aParent, SWT.BORDER | SWT.V_SCROLL |
SWT.H_SCROLL);
viewer.getGrid().setCellSelectionEnabled(true);
getSite().setSelectionProvider(viewer);

I can select various combinations of cells.

The problem is when I access the selection via the selection service I see a
list of the rows selected but there is no information about which cell(s)
have been selected. Do I need to implement my own
StructuredViewer.getSelectionFromWidget() to return only cells values or
have I completely misunderstood how gridviewer and the selection service
works?

Thanks,
David Kyle
Previous Topic:GridTableViewer - layout problem
Next Topic:GridTableViewer - layout problem
Goto Forum:
  


Current Time: Thu Apr 25 09:32:19 GMT 2024

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

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

Back to the top