Hi Experts,
I have a table in my XML view with mode as singleselectleft as below
When the customer selects one of the row and clicks on "Create Ticket" button a popup opens like
I want to display data in these fields from odata.
The code I tried for displaying the data
createticket: function(oEvent) { // create popover if (!this._oPopover1) { this._oPopover1 = sap.ui.xmlfragment("popoverNavCon", "CustomerPortal.Popover", this); this.getView().addDependent(this._oPopover1); } // delay because addDependent will do a async rerendering and the popover will immediately close without it var oButton = oEvent.getSource(); jQuery.sap.delayedCall(0, this, function() { this._oPopover1.openBy(oButton); }); },
Once these details are displayed I have to create a new ticket for the same. Please provide suggestions on how this can be accomplished.
Regards,
Srinivasan