Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

Re: How to register function for an event control?

$
0
0

Hey Dennis,

 

After trying yours, I do get followng console message:

 

Uncaught TypeError: this.onMyMethod is not a function

 

Strangely underneath where I did call your code I declared my method but this is not found . On the whole it looks as follows:

 

init: function(oEvent, aServiceOrders) {

    this._oSmartFilter.attachSearch(function(oEvent) { this.onMyMethod(oEvent).bind(this); });

}

 

onMyMethod: function(oEvent, aServiceOrders) {


}


Viewing all articles
Browse latest Browse all 2794

Trending Articles



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