Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Swing / AWT / SWT
Sort the elements in Tree in SWT
Chethan Sharma
Ranch Hand
Posts: 59
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Can some one suggest me how to sort the elements in Tree view in swt.
any urls or some sample code is very useful for me.
Thanks in Advance,
Regards,
chaithu
Dhanya Palanisamy
Ranch Hand
Posts: 61
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Chethan,
Some more information is needed to answer your question. Sort means, what is your tree view now, what you want to change?
Chethan Sharma
Ranch Hand
Posts: 59
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to sort the names by ascending or descedning order in a tree view.
Under Tree View
--- xxx
----bbb
----jjj
the result should be in
-- bbb
--jjj
---xxx
Thanks,
chaithu
Dhanya Palanisamy
Ranch Hand
Posts: 61
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
http://forum.java.sun.com/thread.jspa?threadID=189640&messageID=1408664
hope this is useful
Chethan Sharma
Ranch Hand
Posts: 59
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for you reply.
I need to sort the names(childrens) in a tree view.(in SWT)
Would you please provide info on SWT
chaithu
Dhanya Palanisamy
Ranch Hand
Posts: 61
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try to use a JFace Tree Viewer - view sorter.
check here:
http://www.eclipse.org/articles/Article-TreeViewer/TreeViewerArticle.htm
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
i want to build an application in a tree format?
sorting linked list using merge sort
Can i add object to tree?
Binary Tree Forumula
Sorting SWT Tree
More...