Non editable checkbox column in grid

Hi,

I want to add a checkbox column in a grid without editing possibilities. The checked state of the row is comming from a database record and is only displayed for viewing purposes. Is this possible?

Regards,
Hans

You can use following code:

mygrid.attachEvent("onEditCell",function(state,rowId,cellIndex){ if(state==0&&cellIndex==CH_COLUMN_INDEX)return false; return true; })