메뉴 건너뛰기

SAP 한국 커뮤니티

        onEditToggled: function () {

            const oModel = this.getView().getModel();

            if(oModel.hasPendingChanges()){

                oModel.resetChanges();

            }

       

            const oSmartForm = this.byId("SF1");

            const bEditable = oSmartForm.getEditable();

            const oButton = this.byId("_IDButton1");

            oButton.setVisible(bEditable);

        }