Setting a row in Child combo after selecting a value in Parent combo

6 replies. Last post: December 17, 2010 3:04 PM by Ellen
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ellen Member

Hi. I have bound Parent and Child combos. After I select a new value in Parent combo, I open Child combo and its new values are populated - what I need. I also need to programmatically display the 1st row in Child combo. I tried to use SetSelectedIndex(0):

 

var combo = ISGetObject("WebCombo1");

combo.SetSelectedIndex(0);

 

but it doesn’t work, because “combo” has no rows (values are populated only after I manually open drop down). How to solve the problem?

 

If I use:

 

combo.SetText(“…”);

combo.LoadValue();

 

only one value is loaded when I open the combo.

 

Thanks.

 

 

All times are GMT -5. The time now is 6:53 PM.
Previous Next