Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ascending descending table column in swt
ascending descending table column in swt [message #1703020] Tue, 28 July 2015 06:00 Go to next message
Lalit Solanki is currently offline Lalit SolankiFriend
Messages: 151
Registered: April 2015
Senior Member
Hello,
I am create eclipse RCP application and use SWT table and i am trying to ascending descending column value but not working in column shell value is not change so please help me ...




Lalit

[Updated on: Tue, 28 July 2015 06:32]

Report message to a moderator

Re: ascending descending table column in swt [message #1703079 is a reply to message #1703020] Tue, 28 July 2015 13:49 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

Please take a look at the SWT Snippets, specifically at using Table and sorting. There are plenty of working examples of accomplishing what I think you're trying to describe.

Brian.
Re: ascending descending table column in swt [message #1703281 is a reply to message #1703079] Thu, 30 July 2015 09:18 Go to previous messageGo to next message
Lalit Solanki is currently offline Lalit SolankiFriend
Messages: 151
Registered: April 2015
Senior Member
Hi Brian de Alwis sir Thank you ,

But sir my column value (cell value) is combobox , how to sort column combo value in my table ....

index.php/fa/22719/0/

please sir help me
  • Attachment: 1.png
    (Size: 9.38KB, Downloaded 260 times)


Lalit

[Updated on: Thu, 30 July 2015 10:26]

Report message to a moderator

Re: ascending descending table column in swt [message #1703323 is a reply to message #1703281] Thu, 30 July 2015 15:46 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

You are responsible for repopulating all of the column values on a sort.

You might want to look at the JFace TableViewer implementation. It provides a set of wrappers that shields you from having to manage the SWT widget directly.

Brian.
Re: ascending descending table column in swt [message #1703356 is a reply to message #1703323] Fri, 31 July 2015 04:00 Go to previous message
Lalit Solanki is currently offline Lalit SolankiFriend
Messages: 151
Registered: April 2015
Senior Member
Thank you Brian de Alwis Sir....

Lalit
Previous Topic:MenuManager in TableViewer does not work on mobile device (tablet with Win 8)
Next Topic:Table do not display horizontal scrollbar
Goto Forum:
  


Current Time: Thu Jan 21 19:29:54 GMT 2021

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

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

Back to the top