How to display text in a Checkbox column?

I’m using dhtmlXGridObject. I want to display NA in a checkbox column if the value is -1. How can I achieve this?


There is no native support for such functionality but it can be achieved in two next ways

a) complex - you can adjust code of existing “ch” excell, or create a custom excell, which will render data in any preferable way.
b) You can use per-cell types , the next definition
   
       1
       NA

will render second cell as “ro” excell with NA text , without relation to column type, if it was a checkbox - the first row will have checkbox control, the second will have text.