gridpanel data load handler

gc.getStore().on('load',function(store,records,successful,operation){
                //do what u want
            });

  • make use of the { single: true } property when you just need a callback once. Example: store.on('load', function(s) { /* do something*/ }, scope, { single: true }) The listener will be removed after it was called. This is needed cause of the use of a anonymous function, that cannot be removed.
posted on 2020-10-30 11:31  wakaka_wka  阅读(93)  评论(0编辑  收藏  举报