//... <ej:TreeGrid runat="server" ID="TreeGridControlEditing" TreeColumnIndex="1"
EnableResize="true" IdMapping="TaskId" ParentIdMapping="ParentId" Load="Load">
<columns>
<ej:TreeGridColumn HeaderText="Task Id" Field="TaskId" Width="55" EditType="Numeric"/>
<ej:TreeGridColumn HeaderText="Task Name" Field="TaskName" EditType="String"/>
<ej:TreeGridColumn HeaderText="Start Date" Field="StartDate" EditType="Datepicker"/>
<ej:TreeGridColumn HeaderText="End Date" Field="EndDate" EditType="Datepicker"/>
<ej:TreeGridColumn HeaderText="Duration" Field="Duration" EditType="Numeric" />
<ej:TreeGridColumn HeaderText="Progress" Field="Progress" EditType="Numeric"/> </columns> //... </ej:TreeGrid>
<script>
function Load() {
var data = ej.DataManager({ url: "http://mvc.syncfusion.com/ProjectDataService/ProjectDataService.svc/ProjectDatas"});
var obj = $("#TreeGridControlEditing").data("ejTreeGrid");
obj.model.dataSource = data;
}
</script>
//... |
Hi Jorge,
Thanks for the update.
Please let us know, if you require any further assistance on this.
Regards,
Dinesh kumar.N
Hi Jorge,
We suggest you to increase the maxJsonLength of jsonSerialization in your web.config file.
Code Snippet:
[Web.Config] <configuration> <system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength="90000000" /> </webServices> </scripting> </system.web.extensions> </configuration> |
We have prepared a sample based on your requirement, in that we have binded about 6000 Json data. Find the sample from below location.
Sample: http://www.syncfusion.com/downloads/support/forum/121095/ze/TreeGrid_with_large_data-1840095248
Regards,
Dinesh kumar.N
Hi Jorge,
We are unable to reproduce the reported issue, we have prepared a sample with 10000 records, can you please revert us by modifying the attached sample with your reported issue? This would be helpful for us to serve you. Find the sample from below location.
Sample: http://www.syncfusion.com/downloads/support/forum/121095/ze/JSON_from_web_metod400368143
Regards,
Dinesh kumar.N