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 Basak
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 Fauth
Messages: 1289
Registered: July 2012
Senior Member
Are you sure the label is only registered for single cells? Your code looks correct.
Previous Topic:Does a row must belong to a group in a RowGroupExpandCollapseLayer to display
Next Topic:Can row groups and column groups use together?
Goto Forum:
  


Current Time: Sun Sep 21 02:08:16 GMT 2014

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

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