-
11 Sep 2009 3:19 PM #141
@mratzloff Thanks for your suggestions - I agree and will implement them soon

I suppose you know that you could add the following to 'remove' the expand button:
@mystix Agreed - I prefer the event name clear!PHP Code:.x-superboxselect-btn-expand {
display: none;
}
Thanks,
Dan
-
14 Sep 2009 7:15 AM #142
In initComponent() I think you need to put the highlighted code below the parent call, instead of before. Otherwise the store might not be initialized.
Also, could you give an example of how you intended users to load initial data directly from a remote data store, so that it populates the data store count?Code:Ext.ux.form.SuperBoxSelect.superclass.initComponent.call(this); if(this.mode === 'remote' && this.store){ this.store.on('load', this.onStoreLoad, this); }
-
14 Sep 2009 1:26 PM #143
I can't think of a scenario where the order would matter there - although I'm possibly still half asleep..!
With regards to the store and the count - wouldn't you just use the totalProperty and root configs like a regular combo?
-
14 Sep 2009 3:53 PM #144
Well, I'm new to Ext JS, but I was getting an error (no function by that name, I believe) in Safari prior to changing the order, and now I'm not. It appears that the parent class initializes all of the xtype classes. Manually generating the store class (via Ext.ComponentMgr.create()) prior to using it also worked for me.
-
14 Sep 2009 4:32 PM #145
.. of course, when using an xtype it would matter! I tend not to use them myself.
Thanks - I'll include that change in the next version.
-
15 Sep 2009 2:10 AM #146
Sugesstion
Sugesstion
Hi!
It would be very nice if this component in some stage have possibility to add icon not only in selected result line but, in dropdown list same as it is IconCombo made by Saki
Actually icon class is already passed to component, it needs to just rendered with some template or like that..
Once again thanks for this great stuff!
Stju
-
15 Sep 2009 2:21 PM #147
@Stju,
Thanks for the feedback - I have considered this myself.. I'll probably add it in a future release.
-
21 Sep 2009 1:11 PM #148
bug in getValueEx method
bug in getValueEx method
I am attempting to wrap this amazing extension within an asp.net control and need the ability to read out the value and display fields for the selected items, and discovered a bug in the getValueEx method in the process.
It seems the scope is not being set on the call to this.items.each() and thus this.valueField, etc are undefined. I'm including the fixed version below:
getValueEx: function() {
var ret = [];
this.items.each(function(item) {
var newItem = {};
newItem[this.valueField] = item.value;
newItem[this.displayField] = item.display;
newItem[this.classField] = item.cls;
ret.push(newItem);
}, this);
return ret;
},
Along these lines, is there any easy way to have the value which is automatically written back into the applyTo element be the JSON encoded return from getValueEx?
Thanks!
-
21 Sep 2009 4:00 PM #149
Hi first of all cool extension

but i have a question:
Is there a way (property , override) to let the control grow at certain height and display a scroll bar if its needed ? cause i use some forms that need to be a certain height tabs and so on
thanks
-
21 Sep 2009 4:24 PM #150
@dennispg,
Thanks for the report regarding getValueEx
Sorry, but I didn't quite follow the question about applyTo - can you please elaborate?
@cmendez21,
Thanks for the feedback, unfortunately that is not available in the current version, although I have plans to enable this in future.


Reply With Quote
