var combobox = function(colTypes, colNames, dropdown) {
for(var i=0; i<colTypes.length; i++) {
if(‘co’ == colTypes[i]) {
var combo = docGrid.getCombo(i);
combo.put("sd","3 Hour"); //works right
var colCombo = docGrid.getColumnCombo(i);
// colCombo.load(dropdown[colNames[i]]); // works nothing
// dropdown =[{value:‘v1’,text:‘t1’},{value:‘v2’,text:‘t2’}]
// colCombo.addOption(dropdown[colNames[i]]); //works nothing
}
}
}