Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dileep on Sep 05, 2009 01:59
open dhtmlx forum
how to addrow in grid with the checkbox at the end of the row in grid

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

mygrid.addRow(17,",,,,,,,,,,,,,,,",0);


please anyone can help me in solving these issue
Answer posted by dhxSupport on Sep 07, 2009 01:45
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 http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_addrow