Skip to main content



      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 09:04 Go to next message
Eclipse UserFriend
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: Wed, 27 May 2015 23:22] by Moderator

Re: Tree Format Sorting Problem [message #1696611 is a reply to message #1696599] Wed, 27 May 2015 09:31 Go to previous messageGo to next message
Eclipse UserFriend
NatTable Example Application

Classic Examples -> Layers -> TreeGridExample
Re: Tree Format Sorting Problem [message #1699153 is a reply to message #1696599] Mon, 22 June 2015 03:56 Go to previous message
Eclipse UserFriend
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: Sun Jun 15 12:27:26 EDT 2025

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

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

Back to the top