var lst2 = new AW.UI.Combo;
lst2.setItemText(["Por Enviar","Rechazado"]);
lst2.setItemValue(["0","2"]);
lst2.setItemCount(2);
lst2.getContent("box/text").setAttribute("readonly",true);
lst2.onControlActivated = function(){ return true; }
lst2.setControlText('Seleccione');
lst2.onCurrentItemChanged = function(i){ Validacion(i,this);}
for(var i=0; i<AWGDetalle_awg.getRowCount(); i++){
AWGDetalle_awg.setCellTemplate(lst2,27,i);
[combo-unrelated code]
}
for(var i=0; i<AWGDetalle_awg.getRowCount(); i++){
var comboEdo = AWGDetalle_awg.getCellTemplate(27, i);
comboEdo.getItemValue(comboEdo.getSelectedItems());
}
var tmpL = new AW.Templates.Combo;
var lst2 = new AW.UI.List;
lst2.setItemText(["Por Enviar","Rechazado"]);
lst2.setItemValue(["0","2"]);
lst2.setItemCount(2);
lst2.setControlText('Seleccione');
lst2.onCurrentItemChanged = function(i){ Validacion(i,this);}
for(var i=0; i<AWGDetalle_awg.getRowCount(); i++){
AWGDetalle_awg.setCellTemplate(tmpL,27,i);
AWGDetalle_awg.setPopupTemplate(lst2,27,i)
[combo-unrelated code]
}
This topic is archived.