Hi ,
I want to be able to add images to the select items in the “combo” eXcell type for a grid.
How may i go about doing this?
Does setting eXcell type to “combo” , make the cell contain a dhtmlxCombo.
If yes, i am not able to use combo.addOption().
I can only use combo.addOption(option, text, css).
I want to be able to add images to the select items in the “combo” eXcell type for a grid.
It not possible without code modifications.
Does setting eXcell type to “combo” , make the cell contain a dhtmlxCombo.
Yes, “combo” eXcell type is an instance of dhtmlxCombo object.
i am not able to use combo.addOption().
Following code works correctly at local example:
mygrid.loadXML("../common/combo.xml",function(){
var combo=mygrid.getColumnCombo(0);
combo.addOption([["one","!!!one",""],["two","!!!two",""],["three","!!!three",""]]);
});
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan