PDA

View Full Version : Ext.ux.MultiSelect support for Ext 3.0?



zhegwood
6 Oct 2009, 9:52 AM
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:



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:



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:



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
}),

Animal
6 Oct 2009, 9:40 PM
Why d'you decide to use the 2.2 version?

zhegwood
7 Oct 2009, 8:29 AM
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

Animal
7 Oct 2009, 9:47 AM
Your examples directory

zhegwood
7 Oct 2009, 10:26 AM
Ha, thanks again... Works like a champ!