on 2018 Nov 27 12:49 PM
Request clarification before answering.
Are you using a named model or default model without any name? If it is a named model you can try the below code.
alert("navigating " + evt.getSource().getBindingContext("<MODEL-NAME>"));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ya its working .. thanks dude !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi saurabh
ya that is fine but its not navigating from that screen thats the issue ... see the below code
var selectedProductId = evt.getSource().getBindingContext().getProperty("Ponumber");
var oRouter = sap.ui.core.UIComponent.getRouterFor(this); oRouter.navTo("view2", { productId: selectedProductId
its showing that getproperty() is undefined ..?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
55 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.