PDA

View Full Version : GridPanel Filter function not working for Combo Box list type column



Rick.McIntosh
27 Jan 2012, 4:23 PM
I have a gridPanel with a combo box type column, When I filter it the legal values do not show on the filter, any ideas:

31093var jgrid_list_box_combo_store_2_17 = new Ext.data.Store({ proxy: jgrid_list_box_combo_proxy_2_17,
reader: new Ext.data.JsonReader({
fields: ["id",
"listboxvalues",
"listboxvaluerowcolor"],
root: "rows",
totalProperty: "results",
id: "id"
})
});

var jgrid_list_box_combo_2_17 = new Ext.form.ComboBox({
id: "jgrid_list_box_combo_2_17",
typeAhead: true,
emptyText: "Select a type...",
triggerAction: "all",
lazyRender: true,
forceSelection: true,
valueNotFoundText: "Select a value from the list...",
mode: "remote",
store: jgrid_list_box_combo_store_2_17,
valueField: "listboxvalues",
displayField: "listboxvalues",
selectOnFocus: true,
typeAhead: true,
editable: true
});


{id: "L17",header: "Appetizer", dataIndex:"L17", width: 100, tooltip: "Choose Your Dinner Appetizer from The Drop Down Menu",sortable: true,xtype: "gridcolumn",filter: {type: "list", store: jgrid_list_box_combo_store_2_17},editor: jgrid_list_box_combo_2_17},