display checkboxe in my grid

Hello,

I have a problem this morning, I want to know how to display a checkboxe in a grid.

I used the method setColType (ch, ch) and it does not work. can someone help me?

I want to display this checkbox when the cell value is 1.

this in my script:


grid = new dhtmlXGridObject('gridbox');
				grid.setImagePath("vue/dhtmlxGrid/codebase/imgs/");
				grid.setHeader("nom,iscurrent,islocked,debut,fin");			
				grid.attachHeader("#text_filter,,,,");
				grid.setInitWidths("200%,200%,200%,200%,200%");
				grid.setColTypes("ed,ch,ch,ed,ed");
				grid.setColAlign("center,center,center,center,center");
				grid.setColSorting("str,na,na,date,date");
				grid.setSkin("dhx_skyblue");			
				grid.init();			
				grid.attachEvent("onRowSelect", function(rID){
					myVar = rID;
				})

Unfortunately the issue cannot be reproduced locally.
Here you can find a working example:
dhtmlx.com/docs/products/dht … _grid.html

If issue still occurs for you - please, provide us with a complete demo, where the issue can be reproduced:
docs.dhtmlx.com/doku.php?id=othe … leted_demo