Categories | Question details Back To List | ||
strange behavious on addrow treegrid Hi i am getting a strange behaviour on a treegrid i have a treegrid with 1 column which is a tree column when i try to add rows to items that are not the top node in the tree then all is fine however when i try to add an item to the topnode of a tree then it displays the error: this.rowsCol[ind] has no properties addRow("23", ["1^ss^0^folderOpen.gif"], 10, "1", "folderOpen.gif", undefined) the row that is causing the error is: manageQueriesGrid.addRow(folderID,folderName,null,parentID,'folderOpen.gif'); this is the same line that works for sub items but not the top most node do you have any idea why this would occur thanks Answer posted by Support on Jun 10, 2008 05:33 Which version of dhtmlxgrid you are using? The problem can't be reconstructed for dhtmlxgrid 1.6, but in case of dhtmlxgrid 1.5 - there was similar bug in earlier build. In case of grid 1.5 - please contact us directly at support@dhtmlx.com and provide your ref. number - we will send you an updated js file. Answer posted by richard on Jun 10, 2008 05:39 hi, yes it is 1.5 thanks very much Answer posted by Support on Jun 10, 2008 08:10 Fixed js file was sent by email. Answer posted by Richard White on Jun 10, 2008 08:12 Hi thanks for this, although i recieved the 1.5 dhtmlxTreeGrid file, is this correct or should i have received the dhtmlxGrid 1.6 file as this has not fixed the problem thanks again Answer posted by Support on Jun 11, 2008 02:54 The file which was sent by email - updated version of dhtmlxTreeGrid.js for dhtmlxTreeGrid 1.5 ( the problem was located in this file ) With updated js file problem is not reconstructable anymore (sample which uses the same code as in your case has been sent by email ) If problem still occurs - please provide any kind of sample where it can be reconstructed. Answer posted by richard white on Jul 06, 2008 08:38 hi unfortunately the file you sent me did not fix the error. however i managed to fix the bug myself by running a closeItem() method on the folder i am adding to and then running openItem() method after adding the new row. this has stopped the error message from appearing do you have any idea what this error is? thanks Answer posted by Support on Jul 07, 2008 05:38 Is the problem reconstructable in sample which was sent by email , or only in your custom code ? While testing with local samples, the same code for version 1.5, which was sent to you, works correctly. If problem still occurs for you - please provide any kind of sample ( you can send it directly to support@dhtmlx.com ) |