on ‎2023 Oct 07 9:29 AM
Hi All
I want to read default binding data of an XML View, when opens first time.
I am trying to read binding of XML View at a point of time 'valueHelpRequest' to pass the value of a property Request_id which not bind to any field in XML View but representing the unique number of selected record in Master Detail Split App.
<Label text="Self/Subordinates" required="true" wrapping="true"/>
<Input name="Pernr" width="50%" id="subordinates_id" enabled="true" visible="true" value="{path: 'Pernr'}" valueHelpRequest="handleValueHelp"
liveChange="validation" valueLiveUpdate="true" showValueHelp="true"/><br>
I have tried to use below code within valueHelpRequest event "handleValueHelp" but its not working here. Otherwise getBindingContext working perfectly fine in other event like change.
handleValueHelp: function(oEvent) {
this._valueHelpDialog = "";
var bindingContext = this.getView().getBindingContext();
var object = bindingContext.getObject();
var reqid = object.RequestId;
}
Request clarification before answering.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.