Skip to main content



      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 03:44 Go to next message
Eclipse UserFriend
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 06:44 Go to previous message
Eclipse UserFriend
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: Wed May 14 11:28:42 EDT 2025

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

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

Back to the top