Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Labels not working with sorting(Labels applied at Row level is not carry forward with Sorting)
Labels not working with sorting [message #1808076] Mon, 17 June 2019 07:44 Go to next message
Aswin Kumar is currently offline Aswin KumarFriend
Messages: 9
Registered: April 2019
Junior Member
Hi,

I have a NAT table, in Which if a particular property has a particular value, then the Row should be non editable, I achieved it through Row label accumulator. But once i applied sorting The Non Editable label is messed up.

For Example

My Condition is if (itemid == 001) then Row is non editable

I have four Row in my table with Item ID 000,001,002,003

Now Second row is non editable, After sorting it will be like 003,002,001,000

Now Third Row should be non editable Since it has item Id =001 but Still second row is not editable.

Attached the sample codes herewith.
Re: Labels not working with sorting [message #1808088 is a reply to message #1808076] Mon, 17 June 2019 10:44 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
The problem is that for creating the RowOverrideLabelAccumulator you create a new ListDataProvider based on the base list PropList. But you need to use the body DataProvider that you also use for the table itself.
Previous Topic:Adding a summary header for columns and rows
Next Topic:Sorting Not honoring applied style labels
Goto Forum:
  


Current Time: Tue Apr 30 18:44:01 GMT 2024

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

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

Back to the top