cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible that a particular row of IWDTable set to non editable?

Former Member
0 Kudos

Hi All,

Is it possible that a particular row of IWDTable set to non editable on the basis of a field value ?? Plz help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Context
+ Rows (node)
   + value (integer)
   + readOnly (boolean,calculated=true)

Bind the "readOnly" property of the InputField (cell editor) to the "readOnly" attribute shown above. Implement the calculated attribute getter like


boolean getRowsReadOnly(IRowsElement element)
{
  return element.getValue() == 42; /* or whatever */
}

Armin

Answers (0)