3.2.0

No data in GRID in IE8 only...

Dear Friend am useing ActiveWidgets 2.0.1 Standard Edition.Am useing IE 8.

I have data array in follwing fromat
[{"COMPANY_ID":"28","COMPANY":"NACA LOGISTICS","PROFILE_CODE":"10000029000000","RATE_CATG":"","COMP_TYPE"
:"Customer","COMP_EMAIL":"fdf@c.com","COMP_POLICY_NO":"","ADDRESS1":"","ADDRESS2":"","CITY":"","STATE"
:"","POSTAL_CODE":"","COUNTRY_NAME":"","COUNTRY":"","PHONE":"4343","FAX":""},{"COMPANY_ID":"1","COMPANY":"Vanguard Insurance"
,"PROFILE_CODE":"10000001000000","RATE_CATG":"","COMP_TYPE":"Agent","COMP_EMAIL":"dfdfdfdf
.in","COMP_POLICY_NO":"CN5814","ADDRESS1":"Bremenstraat 3","ADDRESS2":"B - 2030","CITY":"ANTWERPEN","STATE"
:"","POSTAL_CODE":"","COUNTRY_NAME":"BELGIUM","COUNTRY":"BE","PHONE":"+32 0 354 319","FAX":"32 0354319"
}
]

I am tring to fill these data into grid using follwing code but grid after or before obj.refresh(); the grid looks empty no data in grid.
Can u please help me find solution for this .Am useing IE 8. this problum am facing only in ie8. i have no probs in firefox,IE6,7

obj.setCellData(function(col, row){
if(col==0 ){

return myData[row].COMPANY;

}else
if(col==1){
if(myData[row].COMP_EMAIL!=null){
return myData[row].COMP_EMAIL;
}else{
return "N/A";
}
}else
if(col==2){
if(myData[row].COUNTRY_NAME!=null){
return myData[row].COUNTRY_NAME;
}else{
return "N/A";
}
}else
if(col==3){
if(myData[row].CITY!=null){
return myData[row].CITY;
}else{
return "N/A";
}
}else
if(col==4){
return "<fmt:message key="MASTER.EDIT" />";
}
});
naveen kumar
July 3,

This topic is archived.

See also:


Back to support forum