Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

how to call a function inside the controller in ui5

$
0
0

i am creating buttons inside the fuction in controller.......now i want to call a different function on pressing button....how it is possible.....

 

sap.ui.controller("assignment.main_page", {

 

  form:function()

{

 

var extension2_button=new sap.ui.commons.Button("extension2_button",{ text:"Delete Row",width:"120px",press:function(){this.delete_row();}});

}

this syntex i am using


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>