My code is very simple, but I see only the value not a checkbox in column 3.
var grid = dhtmlXGridFromTable(“table_scart_pos”); grid.setImagePath(‘codebase/imgs/’); grid.setColTypes(“ro,ro,ch,ro,ro,co,ro,ro,ro,ro”); Table-column-data is also simple:
In case of loading from table the config need to be set in process of construction, usage of setColTypes after it will change behavior of cells, but not their look.
<table imgpath=‘codebase/imgs/’ …
Header 1
Header 2
<td type=“ch”>Header 3…
…
With such source table, the checkboxes column will be rendered correctly.