Categories | Question details Back To List | ||
combo.put Hi, i have a treegrid that loads the tree column. when the user adds a coro combo column after the tree has loaded it adds the column in fine but then when i try to assign a combo to that coro and put items into the combo it gives me an error saying that .put is not a function // set the data types combo and add its data var dataTypeCombo = mygrid.getCombo(1); for (i=0; i<dataTypeValuesArray.length; i++) { dataTypeCombo.put(dataTypeValuesArray[i],dataTypeNamesArray[i]) } this was working fine when i loaded the columns in when loading the treegrid but produces this error if i try to run it after the tree has been loaded and the user is adding additional coro columns. i have also checked that all the correct files are included: <script src="../dhtmlxTreeGrid/js/dhtmlXCommon.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGrid.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGridCell.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXTreeGrid.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGrid_splt.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGrid_drag.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlxGrid_excell_calendar.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGrid_excell_time.js"></script> <script src="../dhtmlxTreeGrid/js/dhtmlXGrid_mcol.js"></script> Answer posted by Stanislav on Oct 24, 2007 02:06 Problem confirmed and fixed ( fix will be available as part of next build ) , if you need fix ASAP - please contact directly at support@dhtmlx.com and provide your ref. number - I will send you fixed js file. |