no there is no setEnabled() for cells. What do you mean by enabling/disabling a cell in the context of NatTable? Shouldn't it be editable anymore then? What is the desired behaviour?
If it is only about editing, you should make use of IEditableRule. You could either define the static IEditableRule with the help of labels, or create a global dynamic IEditableRule (like in some examples AFAIK) that reacts on cell content or some other states like a global flag to enable/disable editing. You can find more about this here: http://eclipse.org/nattable/documentation.php?page=editing
Thanks for your quick reply.I am able to set the cell as uneditable. But in SWT when we use the setEnabled() method, then along with the editability ,the colour of that cell also changes to somewhat dimmer colour. So one can actually deduce by seeing the cell only, that it is disabled. So no need of clicking on that cell. I want this kind of behaviour for the cell in Nattable.
you need to implement this by yourself. If you use the label based mechanism for enable/disable the editable state of a cell, it is an easy one. You just need to attach another style to the label that indicates that the cell is not editable. If you use the dynamic version of the IEditableRule, well you need to add a specific label to such disabled cells.