Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by gb on Jan 09, 2009 06:58
open dhtmlx forum
Upgraded - how does system know?

I just upgraded to TreeGrid from the free version. The main reason is because I wanted to use the filter, among other things. I copied the new JS files over the old ones (files in the 'Codebase' folder) but the filter is still not showing up. I did not copy any files from the TreeGrid folder(s).

Is there something else I need to do to let the system know I have the PRO version?

It also might be a problem with my code do I posted it here:

<script>

var dhxLayout=new dhtmlXLayoutObject(document.body,"1c","dhx_black");
dhxLayout.cells("a").setWidth(600);
dhxLayout.cells("a").setText("Team List");

var dhxGrid = dhxLayout.cells("a").attachGrid();
dhxGrid.setImagePath("grid/codebase/imgs/");
dhxGrid.setSkin("modern");
dhxGrid.setInitWidths("200,50,75,100,50,200")
dhxGrid.setHeader("Name,Age,Class,City,State,Manager");
dhxGrid.attachHeader("#combo_filter,#cspan,#cspan,#cspan,#cspan,#cspan");
dhxGrid.loadXML("team_list.xml");
dhxGrid.init();

</script>

Thanks.
Answer posted on Jan 09, 2009 07:45
>>Is there something else I need to do to let the system know I have the PRO version?
Using files from PRO version is enough

The code above is enough to activate in-grid filtering
Please be sure that you have all necessary js files included
          dhtmlxgrid_filter.js
          dhtmlxcombo.js
( in case of dhtmlxtreegrid you will need a dhtmlxtreegrid_filter.js  as well )

If issue still occurs for you please contact us directly at support@dhtmlx.com and provide any kind of sample where issue can be reconstructed ( if necessary , we can send a working sample of related functionality )