Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Making cells editable (Making select cells editable using custom labels)
Making cells editable [message #1385519] Sun, 08 June 2014 13:21 Go to next message
Swapnil Basak is currently offline Swapnil BasakFriend
Messages: 12
Registered: June 2014
Junior Member
Hello, I'm totally new to NatTable. I want to make only certain cells in the NatTable editable.

I use a configLabelAcuumulator and assign an Editable.EDITABLE label to a cell. Then I register the following attribute.

private void registerEditable(IConfigRegistry configRegistry) {
		configRegistry.registerConfigAttribute(
				EditConfigAttributes.CELL_EDITABLE_RULE, 
				IEditableRule.ALWAYS_EDITABLE,Editable.EDITABLE);


However, this makes the entire natTable editable. What am I doing wrong?
Re: Making cells editable [message #1385529 is a reply to message #1385519] Sun, 08 June 2014 20:14 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Are you sure the label is only registered for single cells? Your code looks correct.
Previous Topic:Filtering grouped columns
Next Topic:Incremental filtering in nattable
Goto Forum:
  


Current Time: Tue Apr 23 14:57:31 GMT 2024

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

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

Back to the top