Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by andreea on Jun 13, 2008 06:04
open dhtmlx forum
mygrid.getCombo(1).loadXML is not a function

I have tried to populate a combo depending on the value that was previous selected from another combo
mygrid.getCombo(1).loadXML("Route"+mygrid.cells(rowId,1).getValue()+"Stops"+".xml");

Yet i get this error mygrid.getCombo(1).loadXML is not a function
Answer posted by Support on Jun 13, 2008 07:22
If you are using co|coro combo , they really doesn't supports loadXML method
If you are using dhtmlxcombo as editor in grid, the correct way to get combo object
    grid.getColumnCombo(ind)

    mygrid.getColumnCombo(1).loadXML(url);

http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Combo_excell.html#grid_art_comboexcell