how to addrow in grid with the checkbox at the end of the ro

in the grild i am trying to addrow which as to include a checkbox at the end of the row which is at the 17th cellindex i am trying to add the row by using the folllowing code line


please anyone can help me in solving these issue

addRow(new_id, text, ind) method has parameters:
* new_id - row ID, must be unique
* text - row values, may be a comma separated list or an array
* ind - index of new row, optional, row added to the last position by default

Please find more information here … ect_addrow