check if is called the event onValid....
and try to call an explicit validation with validate("valueBeingValidated")

2009/10/2 Anton Trapp <[email protected]>

>
> I want to trigger the select of the combobox, not respond to it.
>
> Something happens (the user selects a row in a grid), than I do:
>
>     position.expand();
>     position.selectByValue(selectedRow.getAsString("position"), false);
>     position.setValue(selectedRow.getAsString("position"));
>
> (API documentation says, that the CB must be expanded - so I call this
> command too - it does nothing). The only thing that works is the
> setValue. But setValue does not perform a select (selected item is
> undefined)...
>
> Frustrating...
>
>
> zestreet schrieb:
> > How about a OnSelect event in the combo box? Like this:
> >
> >        cBox.addListener(new ComboBoxListenerAdapter(){
> >
> >               public void onSelect(ComboBox comboBox, Record record, int
> index) {
> >                               cBox.setValue(record.getAs"Something"("the
> name of the field");
> >               }
> >         })
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to