Categories | Question details Back To List | ||
[combo] checkbox select can the [combo] checkbox select be integrated into a grid? and also can it be loaded from an xml file? Thanks, Answer posted by Support on Aug 19, 2008 02:52 The dhtmlxCombo has native integration with dhtmlxgrid. http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_combo.html?un=1219140609000 http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Combo_excell.html#grid_art_comboexcell To change default combo to combo with checkboxes, just change next line in dhtmlxgrid_excell_combo.js combo = new dhtmlXCombo(container,"combo",0); to combo = new dhtmlXCombo(container,"combo",0."checkbox"); Also, grid has more simple excell with similar functionality http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_excell_extra.html?un=1219140755000 Answer posted by josh on Aug 19, 2008 07:39 thanks for the answer. yes the grid has the clist but, clist cannot store ID values, only labels as such they are useless for me. if i make the modifications you suggested to get the combo checkbox, will i be possible to get a list of id values that were checked in the combo? i am also assuming that, if we were to load this combo checkbox(integrated in grid) from xml, we will use the same xml as normal combo? thanks, Answer posted by Support on Aug 19, 2008 09:28 >>will i be possible to get a list of id values that were checked in the combo? It will require some custom code added to onEditCell event, to get|set state of checboxes on edit start|end ( the default logic of combo will store only selected value ) While show combo with checkboxes is not complex task , implementation of full logic to show|save checkbox states may be a complicated task . >>we will use the same xml as normal combo? yes |