Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Tree Format Sorting Problem(on single click on the column the sorting for parent-child relationship is not working as expected)
Tree Format Sorting Problem [message #1696599] Wed, 27 May 2015 13:04 Go to next message
Shashi Mising name is currently offline Shashi Mising nameFriend
Messages: 47
Registered: August 2011
Member
Dear All,

I have created the Tree Grid. and my tree list contains different type of objects
like

Column-1
A - (of type Object_A)
B-1 (of type Object B)
B-2
B-3
A - (of type object A)
B-1 ((of type Object B))
B-2
B-3

when i click on the column-1 the sorting is not working properly because the child elements are not coming under their parent elements. and i know that i have to define the parent-child relation ship in the TreeList.Format compartor but i do not know how to do it, i mean in the compartor of the TreeList.Format what needs to be implement to create the parent and child relationship for sorting, so that on sorting each parent should have its child elements only under it.

it would be great if anyone provide the solution with the example.

Thanks

Regards
Shashi

[Updated on: Thu, 28 May 2015 03:22]

Report message to a moderator

Re: Tree Format Sorting Problem [message #1696611 is a reply to message #1696599] Wed, 27 May 2015 13:31 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2803
Registered: July 2012
Senior Member
NatTable Example Application

Classic Examples -> Layers -> TreeGridExample
Re: Tree Format Sorting Problem [message #1699153 is a reply to message #1696599] Mon, 22 June 2015 07:56 Go to previous message
cenk Mising name is currently offline cenk Mising nameFriend
Messages: 159
Registered: July 2009
Senior Member
Dear Shashi,

Have you solved your problem. Because I am finding solution for same problem.


Thank you
Previous Topic:Create Cascade PopupMenu
Next Topic:How can I Set Image in RowHeader
Goto Forum:
  


Current Time: Fri Mar 05 08:44:05 GMT 2021

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

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

Back to the top