View Full Version : Listfilter like the office one?

25 Aug 2009, 3:03 AM
Hi Guys,
I want to use the values that are in my store for the list filter, like this example from office:
and i don't want to add them manually :)

office screenshot:

var filters = new Ext.ux.grid.GridFilters({filters:[
{type: 'numeric', dataIndex: 'id'},
{type: 'string', dataIndex: 'name'},
{type: 'numeric', dataIndex: 'price'},
{type: 'date', dataIndex: 'dateAdded'},
type: 'list',
dataIndex: 'size',
options: ['extra small', 'small', 'medium', 'large', 'extra large'],
phpMode: true},
{type: 'boolean', dataIndex: 'visible'}

Anyone have an idea or a hint, how to realize this?, the reason why iam asking is that i can't find the api documentation about filters..

Best Regard Lars aka Naokai

25 Aug 2009, 5:50 AM
The documentation lists that in the initial release, you could bind list filters to a data store.