Results 1 to 5 of 5

Thread: Ext.ux.MultiSelect support for Ext 3.0?

  1. #1
    Ext User zhegwood's Avatar
    Join Date
    Dec 2007
    Location
    Boulder, CO Suburbia (Lafayette)
    Posts
    388

    Default 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:'[email protected]'},{email:'[email protected]'}]
      }),
      displayField: "email",
      width: 300,
      height: 70
    }),

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    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

    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 User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Your examples directory

  5. #5
    Ext User zhegwood's Avatar
    Join Date
    Dec 2007
    Location
    Boulder, CO Suburbia (Lafayette)
    Posts
    388

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •