Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by aalekhya on Oct 16, 2008 04:56
open dhtmlx forum
addrow

hi
iam using grid.splitAt(1) functionality in my code.I want to add a new row in the end of datagrid.I used
mygrid.addRow(id,newrow,-1); method.In this a new row was inserted at the end of the row.But allignment is not proper at firstcolumn.


Answer posted by Support on Oct 16, 2008 05:55
Please try to add next command

mygrid.addRow(id,newrow,-1)
mygrid.showRow(id);

It must normalize view. 
Answer posted on Oct 16, 2008 06:15

hi

i added mygrid.showRow(id);
Actually i want to display  value of "id" in the first column.but it is not showing that.

Answer posted by Support on Oct 16, 2008 07:18
Issue can't be reconstructed locally. 
Please be sure that 
- addRow command executed after splitAt
- the ID of row is unique and not equal to 0

If issue still occurs for you - please provide any kind of sample where problem can be reconstructed.