1. #1
    Ext User zhegwood's Avatar
    Join Date
    Dec 2007
    Location
    Boulder, CO Suburbia (Lafayette)
    Posts
    388
    Vote Rating
    1
    zhegwood is on a distinguished road

      0  

    Default Ext.ux.MultiSelect support for Ext 3.0?

    Ext.ux.MultiSelect support for Ext 3.0?


    I've gotten the latest code for Ext.ux.Multiselect from the 2.2 forums and also downloaded the patch. I was getting an error on line 55:

    Code:
    fs.el.child("." + fs.headerCls) is null
    [Break on this error] if(!this.legend) fs.el.child('.'+fs.headerCls).remove();\r\n
    If I change line 55 to this, it will not error:

    Code:
    if(!this.legend) fs.el.removeClass('.'+fs.headerCls);
    But, even when that error is fixed there are still problems... I can see the values, I can add /remove values (via adding/removing records to the store), but I can't select any of the values. Has anyone gotten this extension to work with Ext 3.0 or had similar problems?

    Here's my multiselect, for your reference:

    Code:
    new Ext.ux.Multiselect({
      fieldLabel: "Email",
      id: "sel_email"+this.tempId,
      name: "sel_email",
      store: new Ext.data.JsonStore({
        fields: ["email"],
        //data: this.sel_email
        data: [{email:'blah@gmail.com'},{email:'awesome@hotmail.com'}]
      }),
      displayField: "email",
      width: 300,
      height: 70
    }),

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,505
    Vote Rating
    53
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Why d'you decide to use the 2.2 version?

  3. #3
    Ext User zhegwood's Avatar
    Join Date
    Dec 2007
    Location
    Boulder, CO Suburbia (Lafayette)
    Posts
    388
    Vote Rating
    1
    zhegwood is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Why d'you decide to use the 2.2 version?
    I thought it was the 3.0 patch version... Is there something newer than what's listed here?
    http://www.extjs.com/learn/Extension:Multiselect

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,505
    Vote Rating
    53
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Your examples directory

  5. #5
    Ext User zhegwood's Avatar
    Join Date
    Dec 2007
    Location
    Boulder, CO Suburbia (Lafayette)
    Posts
    388
    Vote Rating
    1
    zhegwood is on a distinguished road

      0  

    Default


    Ha, thanks again... Works like a champ!

Thread Participants: 1