Hi there,
I'm in the need of implementing a custom SAPUI5 control. To be more specific, I have an existing non-UI5 control and I want to do a SAPUI5 wrapper to be able to use this non-UI5 control like a common UI5 control.
Therefore I will have to create a new model, like an extended JSONModel.
Additionally, the new UI5 control will be a wrapper for the non-UI5 control.
However, I don't know how to do the custom data binding between the new custom JSONModel class and the new control (non-UI5 wrapper class).
Is there an easy HowTo for writing custom controls using custom models, and using custom data binding?
Whenever the data within the model changes, the control has to render the changes. So there must be some kind of data binding or event handling (change/update event).
Any help would be appreciated.
Thanks,
Tobias