PDA

View Full Version : Advanced Combobox example



hraing
28 Mar 2011, 2:15 AM
I´m trying to put an advanced combobox into my project

http://www.sencha.com/examples/explorer.html#advancedcombobox

I´m not understanding this part

loader.addListener(Loader.BeforeLoad, new Listener<LoadEvent>() {
public void handleEvent(LoadEvent be) {
be.<Contact> getConfig().set("start", be.<Contact> getConfig().get("offset"));
}
});


Can someone explain this part to me?

hraing
28 Mar 2011, 3:17 AM
I updated this post, had an error that I fixed, now I´m only trying to understand this line

be.<Contact> getConfig().set("start", be.<Contact> getConfig().get("offset"));

why do you use "start" and "offset"

optiplex
28 Mar 2011, 3:37 AM
oh nice.
you remove my error. before reading this post i face same situation but your valuable thread solving my issue.