Skip to main content



      Home
Home » Eclipse Projects » NatTable » Sorting with different row heights
Sorting with different row heights [message #1187607] Fri, 15 November 2013 02:30 Go to next message
Eclipse UserFriend
Hi.
I have NatTable with different row heights.
When sorting by specific column the heights don't move to new location of the records.
It would be more intuitive to bind height to data rather than row at least in sorting.
But of course it is not obvious since it brings many other questions: how to deal with heights in row removal, addition, data replacement, etc.

[Updated on: Fri, 15 November 2013 02:42] by Moderator

Re: Sorting with different row heights [message #1187644 is a reply to message #1187607] Fri, 15 November 2013 02:56 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
It would be more intuitive to bind height to data rather than row


This is not only true for row heights but for a lot more things. But this can not be fixed in the current architecture without rewriting almost everything. That's why we will cover that in the new architecture.
Re: Sorting with different row heights [message #1187699 is a reply to message #1187644] Fri, 15 November 2013 03:29 Go to previous messageGo to next message
Eclipse UserFriend
Can you at least give me hint how to get notification on sort and filter events so I will take care of it locally?
I tried to register event handler ILayerEventHandler<SortColumnEvent> on SortHeaderLayer, but got no notification.
Re: Sorting with different row heights [message #1187707 is a reply to message #1187699] Fri, 15 November 2013 03:32 Go to previous messageGo to next message
Eclipse UserFriend
Try to register it above the SortHeaderLayer, like e.g. the NatTable itself.
Re: Sorting with different row heights [message #1190556 is a reply to message #1187707] Sat, 16 November 2013 12:18 Go to previous message
Eclipse UserFriend
I didn't find method to register handler on NatTable, but registering on one layer above SortHeaderLayer did the magic.
Thanks again for prompt response.
Previous Topic:How to get row/column index based on position at CompositeLayer
Next Topic:Enabling checkbox in NATTable with data provider which is represented by a Boolean List
Goto Forum:
  


Current Time: Tue Jul 08 16:25:03 EDT 2025

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

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

Back to the top