Checkbox Excell in grid problem

Hi i send 1 for checked 0 as not checked for “ch” type grid column but always the checkbox is selected.

showmessagesJSONDataTable = function(){ aaa= new dhtmlXGridObject(‘divmessagesJSON’);
aaa.setHeader(“VISIBLE_ON_CHANNELS,CODE,NAME,CITY,INSERT_DATE”);
aaa.setInitWidths(“75,75,75,75,75”);
aaa.setColAlign(“left,left,left,left,left”);
aaa.setColTypes(“ch,ro,ro,ro,dhxCalendar”);
aaa.setDateFormat("%d/%m/%Y");
aaa.setColSorting(“str,str,str,str,date”);
aaa.attachEvent(‘onRowSelect’,function(rowID){alertDebug(‘in click event for aaa’);aprimaryKeyISN = aaa.getSelectedRowId();var sID = a.getSelectedId();var rInd = messagesJSONDataTable.getRowIndex(sID);
});
aaa.setImagePath(“dhtmlsuite/imgs/”);
aaa.isEditable = false;
aaa.setSkin(“light”);
aaa.init();
aaa.setCSVDelimiter("\t");
aaa.loadCSVString(“xxx\t0\txxx\txxx\txxx\t07/08/2007\n”);
setDataTableRowStyles(aaa,[3],[‘color:#FF0000;font-weight:bold; font-family: arial;’]);
aaaprimaryKeyISN = ‘xxxx’;

i think with this line
aaa.loadCSVString(“xxx\t0\txxx\txxx\txxx\t07/08/2007\n”);
i have to get an unchecked checkbox with this aaa.setColTypes(“ch,ro,ro,ro,dhxCalendar”); declaration but i always get selected checkbox on screen.

my version is : 2.5

Try to add following line to the grid initialization:
aaa.enableCSVAutoID(false)

In that case first value in your csv string will be recognized as row id, not as first column value.

Thanks a lot,
We are using old version (I think 1.6) of dhtmlxsuite now we are migrating our project to 2.5 version. I think such little problems will occur in this context.

Regards for help.