Hi All,
I'm trying to get the following working.

In the gridfilter I would like to use a datastore instead of fixed filter options.

Now I’ve tried to use the store variable, this does give me the correct amount of options but does not show any text in the menu, and if clicked on it the filter does not filter correctly.

Does anybody know an solution?

Datastore for the filter:
Code:
var ds_type = new Ext.data.Store({
   id: 'TypeDataStore',
   proxy: new Ext.data.HttpProxy({
             url:'db/type_asset_db.php', 
             method: 'POST'
         }),
   reader: new Ext.data.JsonReader({
     root: 'results',
     totalProperty: 'total',
     id: 'cmdb_type_desc'
   },[ 
             {mapping: 'cmdb_type_desc', name: 'cmdb_type_desc'}
   ])
});
The filters
Code:
var filters = new Ext.grid.GridFilters({
filters:[
    {type: 'string',  dataIndex: 'System_ID'},
    {type: 'string',  dataIndex: 'System_Name'},
    {type: 'numeric', dataIndex: 'System_HD_Size'},
    {type: 'date',    dataIndex: 'System_EnterDate'},
    {type: 'string',  dataIndex: 'System_Model'},
    {type: 'list',
   dataIndex: 'cmdb_type_desc',
       //  options: ['Desktop', 'Laptop', 'Mobiele Telefoon', 'PDA', 'Token'],
       store: ds_type,
       phpMode: true
    },
{type: 'numeric', dataIndex: 'System_Responsible'},
   {type: 'string',  dataIndex: 'Status_Desc'}
]});