Load XML in Grid with problem

I’m using this grid:



GRIDg = new dhtmlXGridObject(‘MGRIDGRID’);

GRIDg.imgURL = “…/files/dhtmlxGrid/codebase/imgs/”;

GRIDg.setHeader(“idpagar,Vencimento,Documento,Nome,Emissao,Valor,Saldo,Obs”);

GRIDg.setInitWidths(“0,80,100,300,80,100,100,150”);

GRIDg.setColAlign(“left,left,left,left,left,right,right,left”);

GRIDg.setColTypes(“ed,ed,ed,ed,ed,ed,ed,ed”);

GRIDg.setColSorting(“str,str,str,str,str,int,int,str”);

GRIDg.setSkin(G_SKIN_GRID);

GRIDg.setEditable(false);

GRIDg.enableEditEvents(false,false,false);

GRIDg.attachEvent(‘onRowDblClicked’,doOnRowDblClickedGRID);

GRIDg.enableColumnMove(true);

GRIDg.preventIECaching(true);

GRIDg.enableAutoSizeSaving();

GRIDg.customGroupFormat=function(text,count){ var out=0; for(var i=0;i<GRIDg.getRowsNum();i++){ var value=GRIDg.cells2(i,6).getValue(); if(GRIDg.cells2(i,1).getValue() == text) { value = value.replace(’,’,’.’); out+= parseFloat(value); } } return text+"         "+formatCurrency(String(out)); };

GRIDg.init();

GRIDg.init();GRIDg.enableSmartRendering(true);







and Here is my xml… cgvcashbox.net/grid.xml



I dont know why, but the data doesnt show after I call:



GRIDg.load(“http://www.cgvcashbox.net/grid.xml”);



If I get the first item from XML, works fine. But I get all xml doesnt show in my grid.



What I’m doing wrong ?



Thanks



Cleverson

The XML data is correct and works correctly for local samples.
From you code it seems that you are using Grouping and SmartRendering functionalities in same time, but those functionalities are mutual exclusive, you can use only one of them in the same time.