Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tibi on Jul 10, 2007 12:59
open dhtmlx forum
coro populate

I have the following code:

mygrid.setOnEditCellHandler(rvalid);
function rvalid(stage,rowId,cellInd){
if(stage==0){
for(i=0;i<vals.lenght;i++)mygrid.getCombo(cellInd).put(vals[i].toString(),vals[i].toString());
}
}

I expect that when I edit the cell (coro) to see the items generated by the code, but is not working.
Am I doing something wrong or how can I refresh the coro ?

Tanx
Answer posted on Jul 12, 2007 15:01
Code works, there is a typo in your code

    >>for(i=0;i<vals.lenght;i++)

    for(i=0;i<vals.length;i++)
Answer posted by radyno (Support) on Dec 10, 2014 03:24

Not much can be said in addition to the reply above, but you also can check date java script and checkbox state and find out what we have probably missed in our explanation.