-
3 Sep 2009 7:39 AM #121
-
3 Sep 2009 7:41 AM #122
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
3 Sep 2009 7:47 PM #123
-
4 Sep 2009 9:55 AM #124
Awesome work man!! Thank you very much for sharing!!
-
4 Sep 2009 6:56 PM #125
issue with myform.getValues()
issue with myform.getValues()
I am using a few of these superboxselects inside a fieldset within a form.
When I add items and run getValues() everything works as expected. When I remove items, the removed items still show up in getValues. Any suggestions?
-N
-
4 Sep 2009 7:04 PM #126
example use
example use
Here is how I am using it:
var wdCombo = new Ext.ux.form.SuperBoxSelect({
id: 'wd',
displayField: 'description',
emptyText: '(All...)',
fieldLabel: 'wd',
name: 'wd',
mode: 'local',
store: jsonwdStore,
triggerAction: 'all',
valueField: 'pk',
width: 213,
listeners: {
additem: a_func,
removeitem: a_func
}
both a_func is the same function and called for both events. When I remove something, a_func calls getValues() and still sees old values present in the list.
-
4 Sep 2009 7:10 PM #127
Hi Nadim,
I've just tested this and everything works as expected using Ext 2.2.1 - Ext 3.0.1
When did you download the SBS component - is it possible that you have an old version of the code that has since been fixed?
If you are still having issues, please post an isolated test case that I can copy and paste, and some instructions about how to re-produce the error. Also please let me know the browsers tested and the version of Ext you are using.
Thanks,
Dan
-
4 Sep 2009 7:14 PM #128
I downloaded it within the last week, i'm working on isolating it right now. If I find the problem on my own I will post back here.
-N
-
4 Sep 2009 7:18 PM #129
Here's what I just tried:
I'd like to know what your listener looks like - I'll take a look when you post a test case.PHP Code:removeitem: function(sbs,v){
console.log(sbs.getValue());
}
Thanks.
-
4 Sep 2009 7:26 PM #130
I've found a problem when using BasicForm.getValues() in the listener - I guess you were using this too?
If this is the case, don't worry about the test case.


Reply With Quote

