I am trying to load a filter from a store, and it's almost working. The filter menu shows the labels from the store, but the values it sends to my php script are system-generated. (like ext-record-820)
please forgive typos, if any. I am not able to copy and paste, as my work network is separate from our internet network.
Code:
var states_store = new Ext.data.JsonStore({
autoDestroy: true,
proxy: new Ext.data.HttpProxy({
url: 'get_states.php',
method: 'POST'
}),
root: 'states',
fields: ['state']
})
var filters = new Ext.ux.grid.GridFilters({filters:[
{type: 'list', dataIndex: 'STATE', store: states_store, labelfield: 'state'}
]})
Using Ext 3.0.0 and GridFilters 0.2.8.
What am I missing?