Disable grid object for user input

Dear support ,



How can I disable a grid object for tthe user input?



Thanks in advanced,

You can manage grid editability with setEditable() method:

//set grid editable
mygrid.setEditable(true);
//set grid not editable
mygrid.setEditable(false);


Thank you.



It works ok but how can I disable row change? I do not want that user can click on the different row when screen is busy with record update.



Thanks in advanced,


var selectable = true;
grid.attachEvent(“onBeforeSelect”,function(){ return selectable; })

now you can use
selectable = false;
to block selection in grid, and next one to restore it
selectable = true;