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 09: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 16:14 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1255
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: Fri Aug 22 19:38:10 EDT 2014

Powered by FUDForum. Page generated in 0.07945 seconds