PDA

View Full Version : ArrayStore giving this.proxy is null



jimtyp
23 Sep 2009, 7:27 AM
Anyone know why this would give me an error "this.proxy is null" when I try to use the store in a Filter?

var titleStore = new Ext.data.ArrayStore(
{
idIndex : 0,
fields : [ 'option' ]
}
);

// configure store used for title dropdown & filter
var titleData = [['Team Lead'], ['Manager'], ['Command Center'], ['Vendor']];

titleStore.loadData(titleData);

jimtyp
23 Sep 2009, 7:45 AM
Well, that was a bit freaky, all I did was move the loadData() to after the Filter declaration and it worked!