Hello all,
i get a errors in IE 8 when i try to change the data source from Jquery function,
The IE errors:
Init the grid Code:
$("#grid-srs-recruiting").igHierarchicalGrid({initialDataBindDepth: 1,responseDataKey: 'NewDataSet.Table',width: "1100px",
autoGenerateColumns: false,primaryKey: "SR_ID",columns: [{ headerText: "SR_ID", key: "SR_ID", dataType: "string" },{ headerText: "Type", key: "Type", dataType: "string" },{ headerText: "Duration", key: "Duration", dataType: "string" },{ headerText: "Site", key: "Site", dataType: "string" },{ headerText: "Owner", key: "Owner", dataType: "string" },{ headerText: "Resources", key: "Resources", dataType: "number" },{ headerText: "Roles", key: "Roles", dataType: "string" },{ headerText: "Start", key: "Start", dataType: "string" }],features:[{name: "Paging",type: "local",pageSize: 15},{name : "Sorting"},{name: "Filtering",allowFiltering: true,caseSensitive: false,},{name : 'Resizing'},{name: 'Tooltips'}],
autoGenerateLayouts: true,columnLayouts: [{key: "Table1",responseDataKey: '',autoGenerateColumns: false,primaryKey: "SR_ID",foreignKey: "SR_ID",columns: [ { headerText: "Role", key: "Role", dataType: "string" },{ headerText: "Role_id", key: "Role_id", dataType: "string" },{ headerText: "Req#ofResome", key: "RequestedNumofResume", dataType: "string" },{ headerText: "Site", key: "Site", dataType: "string" },{ headerText: "Submitted", key: "Submitted", dataType: "number" } ] }] });
Jqury code that set the data source:
$.post(url, {status : status}, function(data) { switch (status) {
case 'RECRUITING' : {//alert (data.d);$("#grid-srs-recruiting").igHierarchicalGrid({odata: false,dataSourceType: 'json',dataSource: data.d });break;}
});}
Remark:
this work perfect in (chrome, firefox, mozilla)
thanks for you help,
Yaniv
Hi Yaniv,The problem stems from rebinding the grid under IE8 - the browser has internal limitations that can break recursions and expose memory leaks.Our development team is aware of the problem and a fix is on the way.If all goes OK, you will be able to have the fix in the upcoming Service Release.Thank you for understanding the matter.Cheers,Borislav
Hן Borislav,
Thanks for the response, do you know when the patch will be available? (I already bought a license)
It's a bit early to give an exact date, but if the patch (we call them Service Releases) is OK, we will ship it to you and the rest of our customers at about the second week of November.Best Regards,Borislav