dhtmlXGridFromTable and (no) checkbox

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:

.
.

0
.
.

What is missing? I don’t have any further idea.

Many thanks for all hints.


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.

I think I have forgotten type=“ch” in

-Tag. But in the meantime, I change all to XML and everthing is good.

Thank you for your help.