initialize DHTMLXcombo in DataGrid

How do I initialize combo box in datagrid and set default values?

I am setting the column types as follows:
mygrid.setColTypes(“co,ed,co,ed,ed,ed,ed,ed,coro,combo”);

mygrid.loadXML(“php/get_userData.php”);

Thank you!

docs.dhtmlx.com/doku.php?do=search&id=combo

Thank you Olga!
How do I set/get the HTML “parent” id if the datagrid (“gridbox”) isn’t rendered until runtime (below)?

parent - id of HTML element which will be used as parent ( or object itself )

Thank you for your help!

Normally, it is expected that on moment of grid’s initialization , its parent container already rendered.

You can place initialization code of grid in onload handler of page, so it will be called in moment, when container is rendered for sure.