Required library edition:
Required library file: dhtmlxgrid.js
add row to the grid
By default new row will be added to the last position:
var newId = (new Date()).valueOf(); grid.addRow(newId,"");
The user can provide values of a new row as a comma-separated list or as an array:
grid.addRow(newId,"text1,text2",1); //or grid.addRow(newId,["text1","text2"],2);
See also: addRowFromClipboard, deleteRow