on 01-09-2018 8:40 AM
I build a page with Sapui5 which use "sap.ui.table.table" component.
There is the requirement "if property of obj 'used' is false,the item's checkbox in table should be disabled".
I couldn't find the method which can make the checkbox disabled in api.
I don't konw if there is a method or property can implement the requirement.
By the way,i can not use "sap.m.table".Because the style of it is wrong.
Hi ..
It doesnt matter if you use sap.m.table or sap.ui.table.table .. as you need to disable the checkbox , first of all are you using sap.m.checkbox or sap.ui.commons.checkbox ??
For sap.m.checkbox use property editable for which we have corresponding setters and getters (setEditable and getEditable)..
and if you are using sap.ui.commons.checkbox than replace it with sap.m.checkbox .. as sao.ui.commons is deprecated now
thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Thank you for your answer.
It is a way to solve this problem.
I will try it.
Thank you very much.
Best Regards
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.