3.2.0

Strange side effect ... please help

Hello
It will be hard to describ.
I am using a grid to display in a DIV some pictures regarding the row selected in the grid.
I have the following function :

grid.onSelectedRowsChanged = function(rowIndicesArray){
Row = rowIndicesArray;
Ipa = grid.getCellValue(3,rowIndicesArray);
loadPage('div1', 'mypage.php?IPA='+Ipa);
};

and
function loadPage(div, url){
document.getElementById(div).innerHTML = '<iframe src="' + url + '" width="586" height="504" frameborder="0"></iframe>';
}

So, When i click on a row, before having my pictures, I have an ugly white square in the div instead keeping that transparent
But if I move in the grid with keyboard to select other row, everything is fine.
Do you have an idea? any suggestion??

Thank in advance guys
DD
DD
February 22,
I guess it should do the same, but you can try anyway.
grid.onSelectedRowsChanged = function(rowIndicesArray){
loadPage('div1', 'mypage.php?IPA='+grid.getCellValue(3,rowIndicesArray););
};

Does it makes any diference by using onRowClicked instead of onSelectedRowsChanged ?
HTH
Carlos
February 23,

This topic is archived.

See also:


Back to support forum