disable columns in table
3 posts
• Page 1 of 1
disable columns in table
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
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
- lucdep
- Posts: 53
- Joined: Wed Oct 10, 2018 12:01 pm
Re: disable columns in table
This is possible via model:
e.g.
The model notifies all editors and cell in a table. So its enough to change the model and all UI controls will be correct.
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.
-
Support@SIB - Posts: 353
- Joined: Mon Sep 28, 2009 1:56 pm
3 posts
• Page 1 of 1