Your individual records will be strings when in a a grid. If you want all list items available in each records then you will need to change your field xtype to 'combo' then set the "lazyRender:true" config option for it. Also to avoid nasty gotchas, set the displayField for the combo the same as the valueField otherwise your grid will get messed up on any change and handle the difference programatically
Hope that helpsFrom: "Ken Muturi" <muturiken@gmail.com>
To: "Skunkworks Mailing List" <skunkworks@lists.my.co.ke>
Sent: Jueves, 2 de Mayo 2013 12:13:43
Subject: [Skunkworks] (no subject)_______________________________________________As from json above my Filter is a list but my Field(editor) is a sting (textfield) ...... Any info i would hack that .....my jsonie..Sencha Extjs 4 Geekies around ?I have a scenario that i want my grid filters to have a different xtype than the one being used by the column field ....
{
"header": "First Name 25224",
"dataIndex": "first_name_25224_6",
"sortable": true,
"flex": 1,
"hidden": false,
"filter": {
"xtype": "list",
"options": [
"Abass",
"Abdi",
"Abdikafi",
"Abdikarim",
"Abdilahi",
"Abdinassir",
"Abdiqadir",
"Abdirahman"
],
"labelField": "value",
"phpMode": true
},
"editor": {
"xtype": "textfield",
"allowBlank": true,
}
}
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke