Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sajith Cyril on Sep 03, 2008 07:46
open dhtmlx forum
Is it like i can do it only if i have Pro Edition of DHTMLX

Hi there

Thanks for quick reply

Here is my code

<script&gt;

var mygrid;

doInitGrid();

function doInitGrid()
{
 mygrid = new dhtmlXGridObject('mygrid_container'); 
 mygrid.setImagePath('Grid/imgs/'); 
 mygrid.setHeader('Company Name,Full Name,Business Phone, Mobile Phone, e-Mail Address, Fax, Role'); 

 mygrid.attachHeader('#text_filter,#text_filter');
 mygrid.setInitWidths('*,*,120,120,*,120,100'); 
 mygrid.setColAlign('left,left,left,left,left,left,left'); 
 mygrid.setSkin('modern'); 
 //mygrid.makeFilter('companyfilter',0);
 mygrid.setColSorting('str,str,na,na,na,na,str');

 mygrid.init(); 
  //mygrid.groupBy(0);
 mygrid.loadXML('SampleData.xml');
 
 mygrid.enableBlockSelection();

 

</script&gt;

Here i want to group by Company Name , Is it like i can do it only if i have Pro Edition of DHTMLX

Regards
Sajith

Answer posted by Support on Sep 03, 2008 08:16
The code is corect, but the grouping can be used only with PRO version of dhtmlxgrid, it will not work with standard edition.