cancel
Showing results for 
Search instead for 
Did you mean: 

First table row readonly - others editable

Former Member
0 Kudos

Hello!

Is there a way to make the first row in a table readonly while the others remain editable? I only know that it is possible for columns.

Thanks in advance

Reinhard

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Reinhard,

In your node that is use as table dataSource create read-only boolean attribute IsReadOnly. Make it calculated. Bind readOnly property of all cell editors to this attribute. In generated "getter" for calculated attribute write:

return element.index() == 0;

VS