Disabling Screen or Screen elements

Hi

I have two grids on click of any row of a grid,i am loading data in aonther grid.
After i click on any row of the first grid,i should not allow user to click on another row of the grid till the second grid is loaded.

Please provide your inputs.

Regards
Sajin B

Hi,

you may set onBeforeSelect method:

var loaded = false;
$$(“grid1”).attachEvent(“onBeforeSelect”,function(id){
return loaded
})
$$(“grid2”).attachEvent(“onXLE”,function(){
loaded = true;
})