Hi everybody
I use follow code to set link type.That work well in chrome but not work with IE.
part of my code:
var rowCount1=myGrid.getRowsNum();
for(i=0;i<rowCount1;i++){
number1 = myGrid.cells2(i,3).getValue();
number2 = changeTwoDecimal_f(number1);
if(number2<0){
myGrid.cells2(i,3).setValue(0);
}else{
myGrid.cells2(i,3).setValue(number2);
}
value0 = myGrid.cells2(i,0).getValue();
newvalue0 = value0.split("^");
newvalue1 = newvalue0[0];
//console.log(newvalue1);
var rowID=myGrid.getRowId(i);
myGrid.cells2(i,0).setValue(newvalue1+"^javascript:open_win("+rowID+");");
//console.log(myGrid.cells2(i,0).getValue());
}
function open_win(selectedId1){
//var selectedId1=myGrid.getSelectedRowId();
house_id = myGrid.cells(selectedId1,5).getValue();
user_information__Id = myGrid.cells(selectedId1,6).getValue();
url = "http://www.emcqupt.com/index.html?act=1&house_information__house_id="+house_id+"&service_user_information__Id="+user_information__Id;
window.open(url,"mywindow2", "menubar=1,resizable=1,width=500px,height=650px");
}
How can I solve this problem?