Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Satheesh Kumar K on Sep 29, 2008 08:22
open dhtmlx forum
Issue in Migrating from DHTMLGrid

Currently we are using DHTMLGrid 1.5 .We are planning to migrate from version 5 to version 6 to use the built-in filter functionality.When migrating,the treegrid itself is not drawing.It is throwing an exception dhtmlHierarchyTree is undefined.Please let me know the steps for the migration of version 5 to 6.

Thanks in Advance.
Answer posted by Support on Sep 29, 2008 15:32
>>to use the built-in filter functionality
This extension was available for dhtmlxgrid 1.5 , if this is only reason of update you can just update to latest 1.5 build ( it will not requre any code modifications )

>>dhtmlHierarchyTree is undefined
Most probably you are using treegrid ( in such case you really need to upgrage to version 1.6, because filtering in TreeGrid not supported in earlier version )
Be sure that 
 - you are using both dhtmlxGrid and dhtmlxTreeGrid of version 1.6 ( you must not mix different version of Grid and TreeGrid )
 - dhtmlxtreegrid.js file included
 - the order of js files 
           * dhtmlxcommon.js
           * dhtmlxgrid.js
           * dhtmlxgridcell.js
           * dhtmlxtreegrid.js
           *any other grid related js files