Forum

timo
Participant
    4 years, 11 months ago #24031
    Up
    0
    Down
    ::

    Thank you, it works. 🙂

    And I use these for all checkboxes:

    $(‘.sapMCb’).each(function(){ //insert your page’s id in the selector. ‘sapMCb’ is the UI5 class for CheckBoxes
    var oCheckBox = sap.ui.getCore().byId(this.id); //get UI5 object
    if (typeof oCheckBox !== ‘undefined’){
    oCheckBox.setSelected(false);
    }
    });