How to disable a checkbox for dhtmlGrid (eXcell "ch") in X

I create rows for the dhtmlGrid in XML using Ruby & Rails, e.g. with the following line of (dummy) code:





is_notified=1

is_disabled=“true”



{:content => is_notified, :type=>“ch”, :disabled=>is_disabled }





i.e. i want to to check/uncheck it and control whether it is disabled (i.e. the check state can be seen but not changed) or not.



The check state etc. works fine, the grid entry works perfectly.



BUT I just can’t control the enabled/disabled state. I do not want to do it client-side with javascript. Can you give me a hint?

    There is no ability to disable editor from XML, but if they are permanently disabled you can change cell type for it

        
        1

    
        
        <![CDATA[]]>

    

    So image of disabled checkbox will be statically rendered for second row