Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer: making a multi selection visible - how to ?
TableViewer: making a multi selection visible - how to ? [message #1414931] Mon, 01 September 2014 16:30 Go to next message
Gidi Gal is currently offline Gidi GalFriend
Messages: 42
Registered: July 2009
Member
Hello to the forum members,
I am working with SWT v3.6.3
I am trying to show a mutli selection in TableViewer. I am trying to use TableViewer.setSelection and also Table.setTopIndex. When I have multi selection which is not visible (scrolled out of the visible area) and I'm trying these API calls I cannot see all selected lines, even in cases when the selection range is smaller than the the displayed area of the table Smile
If you have experience with this task I'll be grateful for your comments.
Thanks,
Gidi
Re: TableViewer: making a multi selection visible - how to ? [message #1415620 is a reply to message #1414931] Wed, 03 September 2014 07:54 Go to previous message
Hussein MHANNA is currently offline Hussein MHANNAFriend
Messages: 45
Registered: February 2014
Location: LAVAL
Member
Hi Gidi,

Is your TableViewer created with SWT.MULTI style?

Have you tried to use the method setSelection(ISelection selection, boolean reveal)?

Regards,

Hussein


ALL4TEC
Previous Topic:SWT Browser setUrl - Crash JVM - libpthread.so
Next Topic:ScrolledComposite doesnt scroll by mouse wheel
Goto Forum:
  


Current Time: Wed Apr 24 21:26:24 GMT 2024

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

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

Back to the top