Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Selection of row after grouping is done
Selection of row after grouping is done [message #1387035] Mon, 23 June 2014 16:03 Go to next message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
Hi Dirk et al

First of all, thanks for responding to all types of questions related to Nattable.
If I click on a row the row is highlighted indicating that it is selected. This is before grouping is done with respect to a column ( dragging the column to the group header region ). But after grouping is done, if I click on a row beyond the original ( that is before grouping is done ) row count, I don't see the highlight on the row. But the row is selected, I can see it in the selection layer's getLastSelectedCellPosition(). How can I make those rows beyond the original row count get highlighted upon selection?

Thanks.
Re: Selection of row after grouping is done [message #1387042 is a reply to message #1387035] Mon, 23 June 2014 16:34 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Is this behavior also in the examples? Did you apply a custom styling?
Re: Selection of row after grouping is done [message #1387045 is a reply to message #1387042] Mon, 23 June 2014 17:27 Go to previous messageGo to next message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
I didn't see the examples. I didnt apply custom styling.
Re: Selection of row after grouping is done [message #1387046 is a reply to message #1387045] Mon, 23 June 2014 17:48 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I don't really understand. What do you mean with rows below the original? Are you adding additional rows?

Sorry, you provided too less information for me to be able to help.
Re: Selection of row after grouping is done [message #1387047 is a reply to message #1387046] Mon, 23 June 2014 17:54 Go to previous messageGo to next message
Sunny          is currently offline Sunny Friend
Messages: 37
Registered: September 2011
Member
Ok. My row count before grouping is done is 30. After grouping the rows with respect to a column ( by dragging the column into grup header region ) the row count is say 44, because of the new rows with the '-' (expanded sign). With these '-' (expanded) rows included, counting from the top, if I go to 31st row and click on it, the selection of row doesn't highlight. Any row selection below 31 seems to highlight ok.
I hope I am clear.
Re: Selection of row after grouping is done [message #1387103 is a reply to message #1387047] Tue, 24 June 2014 07:21 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Sounds like an issue with your layer composition.

Please check your composition against one of the GroupBy examples, because there everything is working fine.
Previous Topic:Group/Ungroup Externally
Next Topic:Discussion: NatTable Roadmap
Goto Forum:
  


Current Time: Thu Apr 25 16:54:41 GMT 2024

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

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

Back to the top