how to add row in grid

I am using custom xml String (format xmlB ) to load grid from xml…

Initially when the grid loaded from xml … it shows all the columns

and rows properly as per the column type i have mentioned such as ro,co,ed,ch…

but when I used grid.addRow(new_id, text, ind); to add new row in grid…

it adds new row in grid… but the checkbox column type does not appear

in grid as ch column type , It displays like ed column type…

So please give me the solution to display the check box column type

in newly added row…

The cell in row, added by grid.addRow, will have type according to setColTypes command executed while grid initialization.
In case of ch excell, please be sure that addRow command contains 0 or 1 as value for related column.