Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Frank on Jan 19, 2009 20:02
open dhtmlx forum
parse data in a grid with dhxCalendarA , speed is very slow

I use grdActivity.parse(dataJson, "json"); to load data. But only 15 line , it took me 5 seconds.

There are 2 dhxCalendarA columns in the grid, and I'm sure the low speed is coursed by them. I changed the type as 'ed' , the it took only 0.25 second. So what should i do then? Is there any better way?

My script:
var xml2 = '<%=FormatGrid() %>';
grdActivity = new dhtmlXGridObject('grdActivity');
grdActivity.setImagePath("../../Scripts/Simple Grid/imgs/");
grdActivity.init();
grdActivity.parse(xml2, loadData,"xml");


function loadData()
{
grdActivity.clearAll();
var dataJson = Office_Grading_Activities_Dhtml.AjaxLoadActivityData().value;
grdActivity.parse(dataJson, "json");
}

Answer posted by Support on Jan 20, 2009 06:18
Please try to use attached calendar and excell files instead of original one - they must resolve issue. 
Attachments (1)