HI
I need to select an item in a webcombo based on the value of the first column.
I need a webcombo property similar to .selectedIndex to give it a string value.
can anybody help me,
thanks
I have the same problem & there's still no solution.
My scenario is I have a WebGrid that passes a value (Supplier Id),
there is a Supplier WebCombo under the WebGrid,
when selecting a row in the WebGrid, I should get the Supplier ID set automatically in my WebCombo ! HOW TO DO THAT, I wish if it is as easy as dropdown where it is just
WebCombo.SelectedValue = ...... // the selected cell value from the grid above.
I have same problem and trying to find solution. I spend 2 days to but nothing.
Anybody can help. How to automatically set webcombo if I know some value.
Hi Guys,
I would suggest you the following way to select a row from WebCombo using javascript like this:
50 function selectRow(Index) {
51 var oCombo =
52 igcmbo_getComboById('WebCombo1');
53 var oGrid = oCombo.getGrid();
54 oGrid.Rows.rows[Index].setSelected(true);
55 }