Hi Yoppie,
Might be 'this' context problem. Try -
openDialog : { var that = this; var dialog = new sap.m.Dialog({ ... buttons : new sap.m.Button({ ... press : function (){ that.getView().byId("myTable1"); } }) }); }
Regards,
Sai Vellanki.
Hi Yoppie,
Might be 'this' context problem. Try -
openDialog : { var that = this; var dialog = new sap.m.Dialog({ ... buttons : new sap.m.Button({ ... press : function (){ that.getView().byId("myTable1"); } }) }); }
Regards,
Sai Vellanki.