Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Juan on Aug 26, 2008 14:45
open dhtmlx forum
Inicilizate combobox column of DhtmlxGrid Object

I need inicializate a combobox column of DhtmlxGrid Object without Xml .
Please help me


Necesito inicializar una columna de combox de un DhtmlxGrid sin usar XML
Gracias.
Answer posted by Support on Aug 27, 2008 01:40
If you mean co|coro column - you can use getCombo method to get combo instance and put method to add possible values

mygrid.getCombo(index).put("1","One")

        http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Selectbox_collections.html#grid_art_selectbox

In you mean combo column you can use getCellCombo method to get dhtmlxcombo instance and use any method of dhtmlxCombo to fill it with options

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