Categories | Question details Back To List | ||
Coro DHTMLX Grid I have a grid in which one of the column type is a coro. When my users select an item in the coro i don't want that item to be available in the coro for the subsequent rows. How can i achieve this functionality? Answer posted by dhxSupport on Jul 06, 2009 00:38 You can use "onEditCell" event and delete selected item from the "coro" options: mygrid.attachEvent("onEditCell",function(stage,rowInd,cellIndex,newValue,oldValue){ if (stage==2&&cellIndex==CORO_CELL_INDEX){ var combo=getCombo(CORO_CELL_INDEX); combo.remove(newValue); return true; } return true; }); Please see more information about managing select box collection here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Selectbox_collections.html#grid_art_selectbox |