Webcombo clientside Row collection manipulation

5 replies. Last post: March 12, 2013 10:47 PM by Bernard Xiang
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

I'm having problems retrieving row colection from webcombo. My combo is serverside binded, and in clientside pageload event I'm trying to get rows from combo. However i get nothing from method GetRows(). Applying filters is working fine but variable rows is null, and setselectedindex(1) does nothing.

function setComboFilter(idMenu) {
    var combo = ISGetObject('cmbGodina');
    var rows = combo.getRows();
    combo.ClearAdditionalFilters();
    combo.SetAdditionalFilters("[IdRedaMenu] = " + idMenu);
    combo.SetSelectedRowByValue(String(idMenu));
    combo.SetSelectedIndex(1);
}

 


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