Categories | Question details Back To List | ||
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: . . <td>0</td> . . What is missing? I don't have any further idea. Many thanks for all hints. Answer posted by Support on Jan 07, 2009 16:07 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/' ... <tr><td>Header 1</td><td>Header 2</td><td type="ch">Header 3</td>...</tr> ... With such source table, the checkboxes column will be rendered correctly. Answer posted on Jan 08, 2009 00:03 I think I have forgotten type="ch" in <td>-Tag. But in the meantime, I change all to XML and everthing is good. Thank you for your help. |