on 01-24-2019 9:14 AM
I have troubles to find in the SDK, all the options which can be used for a particular UI element.
For example; If i look at the ObjectNumber in an example, i see;
If i would like to find which options i have more for a ObjectNumber, i go to the API Reference of the website;
ui5.sap.com;
https://ui5.sap.com/#/api/sap.m.ObjectNumber
and take a look over there, which other options i have, and also what for example other options i have for
the option formatOptions of the variable Number of the UI element ObjectNumber.
But if i look at the properties, i find Number;
but i can't find over there the direct link to the sub options whom are used in the example;
'Path', 'type' and 'formatOptions'. And also all the others;
So therefore, my question is, how do i use the SDK on a proper manner, so i can find all the options whom are available for a UI element?
In the example above the ObjectNumber is used, so i am not interested in the ObjectNumber it self, but how do i find what options i can use, and how do i find the used options?
Kindly hear from you!
All the path related bindings are handled by managedobject class in UI5. I know it is difficult to find these things but it is very easy once you know the concepts. To be frank, just now i debugged the code to understand where the parts, type etc.., are being set.
But then I realized it is more simple because what you are doing is property binding, so just go to the respective ui5 control and check for bindProperty method, it is inherited from managedobject, which is inherited in element and again it is inherited in the control and the control is inherited in all the controls
https://ui5.sap.com/#/api/sap.ui.base.ManagedObject/methods/bindProperty
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look under 'Documentation > Essentials > Data Binding'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.