Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Change igHierarchicalGrid data source don't work in IE 8
posted

Hello all, 

i get a errors in IE 8 when i try to change the data source from Jquery function,

The IE errors:  

  • popup message that say: " stop running this script ?  A script on this page is causing your web browser to run slowly ... "  
  • popup message that say: "Stack overflow at line:2" after i click "ok" i don't get the data.

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

Parents
No Data
Reply
  • 6279
    Suggested Answer
    posted

    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 

Children