Can we update CSS depending on the model data?
Here I am trying to toggle between cursor: pointer;
and cursor: default;
.
<core:Icon id="Submit Button"
size="2rem"
src="sap-icon://appointment"
press="onAppointmentIconClick"
enabled="{
path: 'data>/isFree',
formatter: '.buttonFormat'
}">
</core:Icon>