I have an Ext.Data.Store. And i have a function, that need to invoke one time, when store is loaded. Only one time.
At first i did this:
function invokeMe() {
alert("!");
}
actionTemplateStore.on('load', function () {
invokeMe();
}
But one problem isin this solution:
I really need once invoce “invokeMe”-function
Update: as Lloyd mentioned, you can also use {single:true} option.