Checkbox column control is not rendered for the added row

Hi,

Checkbox column control is not rendered for the newly added row

this is my column type and sorting type for the girid.

var GrdColType = “ro,ed,combo,ed,ch”
var GrdColSorting = “str,str,str,str,str”
loDhtmlxGrd.setColTypes(GrdColType);
loDhtmlxGrd.setColSorting(GrdColSorting);
loDhtmlxGrd.init();

when i add a row to the grid using below code the check box control in not visible/rendered.

loDhtmlxGrd.addRow("","","","",“1”);

any sugessions, please help.

thanks

Jagadish

Try like (instead of “1” -> true)
loDhtmlxGrd.addRow("","","","",true);

thanks for the reply,
i tried but it is not working.

any other suggestions…

thanks
Jagadish

You should set id of the new row:

loDhtmlxGrd.addRow("new_row_id",["","","","",true]

Yea i forgot to mention it. Thanks Olga.

great it is working

Thanks Jagadish