Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Enable cell decoration outside of editing mode(I'd like to show a cell decoration for invalid values even if the cell is not edited)
Enable cell decoration outside of editing mode [message #1769836] Thu, 03 August 2017 23:37 Go to next message
Stephan Druskat is currently offline Stephan DruskatFriend
Messages: 102
Registered: October 2011
Location: Berlin, Germany
Senior Member

In my app, I'm importing data into a NatTable which may contain invalid values, which th user may want to correct. I've seen the use of the cell editor control decorations at the bottom of https://eclipse.org/nattable/documentation.php?page=editing, and have set up the table configuration so that the user is alerted when entering invalid values.

However, I'd also like to be able to show the error decoration on cells that contain invalid values, and are not currently edited.

Any pointers as to how I can achieve that?

Many thanks!
Re: Enable cell decoration outside of editing mode [message #1769837 is a reply to message #1769836] Thu, 03 August 2017 23:41 Go to previous message
Stephan Druskat is currently offline Stephan DruskatFriend
Messages: 102
Registered: October 2011
Location: Berlin, Germany
Senior Member

Ah, found http://blog.vogella.com/2013/03/02/crossweak-validation-in-nattable-by-dirk-fauth/. Sorry.
Previous Topic:Body and row headers not displaying for Big Data
Next Topic:Register a normal click in a table with CellEditors
Goto Forum:
  


Current Time: Thu Sep 20 07:12:59 GMT 2018

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

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

Back to the top