Page 1 of 1

disable columns in table

PostPosted: Fri Mar 29, 2019 1:51 pm
by lucdep
Hi,

Can I make one or more Columns in a (Navigation)Table not editable (disabled?) but still visible, while the other Columns remain editable (enabled?)
The setEditable method from UITable works for the whole Table, not for just a Column?

Thanks


Luc

Re: disable columns in table

PostPosted: Fri Mar 29, 2019 3:07 pm
by Support@SIB
This is possible via model:

e.g.

Code: Select all
dataBook.getRowDefinition().getColumnDefinition("NAME").setReadOnly(true);

The model notifies all editors and cell in a table. So its enough to change the model and all UI controls will be correct.

Re: disable columns in table

PostPosted: Mon Apr 01, 2019 6:46 am
by lucdep
Thanks!