-
5 Oct 2011 9:30 PM #271
I downloaded the extension from the link provided in first page. it did not contain assertValue function.
Currently by using this control as grid editor it shows values when we try to edit the cell and show values but as i move out the cell it clears cell contents
I actually want to use this control in grid editor. Can you please post ur whole code
I shall be thankful to you
-
30 Dec 2011 1:48 AM #272
Upgrade to Extjs 3.4
Upgrade to Extjs 3.4
I've upgraded my app from Extjs3.3.0 to Extjs3.4.0 and was facing the bug described behind with SuperBoxSelect.
My SuperBoxSelect is in a form and the form is in a panel.
The panel is first rendered hidden.
When i choose some data in a combo, the panel is shown and the form is reset.
When resetting the form, the SuperBoxSelect is reset and is calling(ligne 211 of SuperBoxSelect.js)Code:clear: this.manageNameAttribute,
(ligne 679 of SuperBoxSelect.js)Code:manageNameAttribute : function(){ if(this.items.getCount() === 0 && this.forceFormValue){ this.el.dom.setAttribute('name', this.hiddenName || this.name); }else{ this.el.dom.removeAttribute('name'); } },
I've the following error in firebug : this.el.dom is undefined.
So, i commented out the line "clear: this.manageNameAttribute,", and it's working fine.
I wonder also what is the purpose of "manageNameAttribute".
If using a SuperBoxSelect in a form, it's to post the values, isn't it ?
So, set the "name" and "hiddenname" properties of your SuperBoxSelect, comment the "clear: this.manageNameAttribute," line and it's working.
I made new tests wihtout commenting line, and the bug disappeared !
-
12 Jan 2012 3:44 AM #273
One question.
Isn't these lines useless?
You reassign the Ext.ux.form.SuperBoxSelectItem right after itPHP Code:// start here!
Ext.ux.form.SuperBoxSelectItem = function(config){
Ext.apply(this,config);
Ext.ux.form.SuperBoxSelectItem.superclass.constructor.call(this);
};
// end
/*
* @private
*/
Ext.ux.form.SuperBoxSelectItem = Ext.extend(Ext.ux.form.SuperBoxSelectItem,Ext.Component, {
...
-
31 Jan 2012 7:43 AM #274
Request for extjs 3.4 compatible version
Request for extjs 3.4 compatible version
Hello,
Can anyone help me find the latest version for SuperBoxSelect or the one that supports extjs 3.4 ,
I tried the one in the first page of this thread but have issues related to :
1) Content not being displayed if we come back to the SuperBoxSelect Drop down after we do a bulk delete on the selected items and then when the control moves to another popup/window.
2) Issues with remote store (extjs js error when we delete any item)
Thank you
Deepthi
-
31 Jan 2012 8:30 AM #275
I am using the attached code for 3.4 version and it works perfectly fine, I might have done few minor changes.
-
31 Jan 2012 9:10 AM #276
Same for me on 3.4! Do you remember your changes?
-
31 Jan 2012 9:28 AM #277
Can you try with the attached code, because I don't remember the changes but I did very minor changes.
Can you post what exact error you are facing or the place where it is breaking in the SuperBoxSelect.
Thanks,
Ramana
-
7 Mar 2012 9:23 PM #278
-
3 Apr 2012 10:41 AM #279
a fix
a fix
Just in case somebody gets the same problem as I got.
My Problem:
I have the superboxselect element inside a window. When window shows first time, everything is fine. However, if window hides and shows at the second time, the list of superboxselect is missing.
Solution:
Actually, the list is not missing. It is just behind the window element. The zindex of window element will be changed based on the number of windows (including msg box) to make sure the showed one is always on top of windows. However, the zindex of the list from superselectbox is not changed after first time rendering.
To fix this problem just simple add
Hope this help anyone.Code:expand : function(){ if (this.isExpanded() || !this.hasFocus) { return; } this.list.setZIndex(this.getZIndex()); this.list.alignTo(this.outerWrapEl, this.listAlign).show(); this.innerList.setOverflow('auto'); // necessary for FF 2.0/Mac Ext.getDoc().on({ mousewheel: this.collapseIf, mousedown: this.collapseIf, scope: this }); this.fireEvent('expand', this); },
-
19 Apr 2012 9:44 AM #280
toogle item
toogle item
hey guys
I need toogle ( and onToogle event) on items in a component ... did any of you ever need this and could share code ?
by toogle I mean ... I want to be notified when Item is selected and deselected ...
and blur event is not the correct one ...
kind regards
Armando


Reply With Quote
