Thanks.. Lemmi try that up... then get back


On Thu, May 2, 2013 at 2:39 PM, Steve Obbayi <steve@sobbayi.com> wrote:
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 helps


From: "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)


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 ....
ie..
my json

{
    "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,
    }
  }

As  from json above my Filter is a list but my Field(editor) is a sting (textfield) ......  Any info i would hack that .....



_______________________________________________
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