cancel
Showing results for 
Search instead for 
Did you mean: 

"sap.ui.table.table" checkbox can not be disabled

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member340030
Contributor
0 Kudos

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

Former Member

Hi.

Thank you for your answer.

It is a way to solve this problem.

I will try it.

Thank you very much.

Best Regards