Kanu,

It is not recommended to use scalar values into your dataProvider, instead
use the format {label:"varun"},{label:"manav"} instead of using varun, manav
... etc.

For solving your issue, use the selectedItem property on the combbox.

thanks
Harish

On 5/29/07, kanu kukreja <[EMAIL PROTECTED]> wrote:

  Tx for the quick reply Tracy

But i was expecting some property for this insted of applying this logic.

Is there is any property?


*Tracy Spratt <[EMAIL PROTECTED]>* wrote:

  You need to loop over the dataProvider, comparing the appropriate
property value to the match value, then set the comboBox selectedIndex when
you match.
 Tracy
  ------------------------------
 *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
Behalf Of *kanu kukreja
*Sent:* Monday, May 28, 2007 3:43 PM
*To:* [email protected]
*Subject:* [flexcoders] show value in combobox
   there is a combobox with 3 values:
 kanu
 manav
 varun
  through webservices i'm getting "varun"
  which i need to show in a combobox after clicking a button
   how to do this?
 *Best Regards*
 *Kanu Kukreja*

 ------------------------------
 Looking for a deal? Find great prices on flights and 
hotels<http://us.rd.yahoo.com/evt=47094/*http:/farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->with
 Yahoo! FareChase.




*Best Regards*
*Kanu Kukreja*

------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for 
grads<http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz>at
 Yahoo! Search.

Reply via email to