This question is locked. New answers and comments are not allowed.
Hi,
I have an issue with firing a java script function on I.E, so when I click on any row of the grid I need to call the method onRowSelected that will bind another grid based on the value sent to it. Its working fine on Firefox. but on I.E it didn't work,
function onRowDataBound(e) {
var grid = $(this).data('tGrid');
var row = e.row;
var dataItem = e.dataItem;
var value = row.cells[4].innerHTML;
row.setAttribute("onclick", "onRowSelected(" + value + ")");
}
function onRowSelected(val) {
var grid= $('#myGrid').data('tGrid');
grid.rebind
({
itemId: val
});
}
Any Suggestions ??
Thanks.
I have an issue with firing a java script function on I.E, so when I click on any row of the grid I need to call the method onRowSelected that will bind another grid based on the value sent to it. Its working fine on Firefox. but on I.E it didn't work,
function onRowDataBound(e) {
var grid = $(this).data('tGrid');
var row = e.row;
var dataItem = e.dataItem;
var value = row.cells[4].innerHTML;
row.setAttribute("onclick", "onRowSelected(" + value + ")");
}
function onRowSelected(val) {
var grid= $('#myGrid').data('tGrid');
grid.rebind
({
itemId: val
});
}
Any Suggestions ??
Thanks.