How to disable checkbox in the grid

Please tell me how to disable checkboxes in a grid’s checkbox column. Or can the grid set the enable-disable status of the column?

Thank you very much.

You can use the following code:

function disableCol(){
        var rowNum=mygrid.getRowsNum();
        for (var i=0; i<rowNum; i++)

col- index of a column which you would like to disable.