Manually adding values to coro (not via XML)

Is it possible to tell a coro which values it should contain noget through XML?

grid.cells(id,ind).cell will give access to HTML element of cell, and you need to use DOM methods to access the necessary element and change its value


You can use put(key,value) method to add new option into the coro:


var coro = grid.getCombo(column_index);


coro.put(key1,value1);





coro.put(keyN,valueN);

I set mygrid.setColTypes( to coro, does this work with your answers?


Yes, getCombo and put must work for coro.


For example, this approach is used in the sample dhtmlxGrid/samples/header_footer/grid_complexheader.html

Thanks guys. That helped…