PDA

View Full Version : Having problems with Grid Fillter Type"list"



hyhoocchan
3 Jan 2011, 2:13 AM
var filters = new Ext.ux.grid.GridFilters({
filters: [
{
type: 'list',
dataIndex: 'kind',
options: ['Big House', 'Small House' ],
phpMode: true
}, {
type: 'boolean',
dataIndex: 'visible'
}]
});
I know options property is array. But in Store, the kind filed is number: 1 => Big House, 2 => Small House.
Therefor when i fillter don't have result. Please help me.
And the boolean type. Default Lable is Yes or No. Please help me to change it. Example: Unvailable or Available.