Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jalpa on Dec 22, 2009 02:31
open dhtmlx forum
Newly added rows in updateFromXML.

Hi,

I have a question regarding updateFromXML method for dhtmlxgrid.
Is it possible to have newly added rows at the top of the grid instead of at the bottom?

Thanks,
Jalpa

Answer posted by dhxSupport on Dec 22, 2009 06:17
You can use "onRowCrated" event to catch when new row is added to the grid and the move it at the top of grid with moveRowTo() method 
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_moverowto