Skip to Content
-1

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

Jan 09 at 08:40 AM

38

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

VIPLOVE KHUSHALANI Jan 09 at 09:17 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
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

1