Callback if loading Combo in Grid from XML

If I’m loading a combo column in a grid through XML and I put the ‘source’ of the combo list in the XML grid definition, then how can I put in callback function when the XML is loaded?

Thanks

It is impossible in case of xml intialization. You need to define combo column using getComboColumn method:

[code]grid = new dhtmlXGridObject(‘gridbox’);
grid.setHeader(“the first column,combo column”);
grid.setInitWidths("*,100")

grid.setColTypes(“ed,combo”);
grid…init();

var combo = grid.getComboColumn(1);
combo.loadXML(“combo.xml”,function(){
/your code here/
grid.loadXML(“grid.xml”)
}) [/code]