View Full Version : how to load a toolbar item from a json store

23 Sep 2009, 6:34 PM
how to load toolbar items from a json store?
this is my json return:

and this is the jsonstore define

this.tbstore=new Ext.data.JsonStore({
autoDestroy: true,
url: 'user/test.do',
root: 'data',
idProperty: 'id',
fields: [ 'id','text', 'iconCls']
can i load these items after a panel initComponent?

5 Oct 2009, 6:14 AM
Why create a JSON store for one item?