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;
})