Categories | Question details Back To List | ||
DHTMLX GRID Dear Sir/Madam, I am adding new row in grid but the row is not showing in grid, if there is zero rows in grid. I am using row add api It only adds row but data not present in that row. Thank BAPU SHINDE Answer posted by dhxSupport on Jul 30, 2009 07:39 >>It only adds row but data not present in that row. 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 To add data to the new row you can use: grid.addRow(newId,"text1,text2",1); or grid.addRow(newId,["text1","text2"],2); |