I have a combobox and I want to create a new store instance of that combo.
I can see a store instance can be created by Ext.create('My.Store')
but this is not availabel in Extjs 2.3.0
I tried
var comb= new this.combobox1.store; // Gives error store is not a constructor
and
var comb= new this.combobox1.getStore(); // com is undefined here
Any ides.
I know this is a year late, but better late than never, since I came across it as unanswered, try this:
First create your store:
Then in your combo config, assign the store. This panel (fp) is a simple form to hold the example combo.
create a window for the panel to go in
Working Fiddle: https://fiddle.sencha.com/#fiddle/1cta