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”);
}
Please try to use attached calendar and excell files instead of original one - they must resolve issue.
dhtmlxcalendar.zip (14.1 KB)