Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 13, 2008 04:26
open dhtmlx forum
i want refresh only the grid (values ) after inserting a row using ajax. please suggest with example

Answer posted by Support on Feb 13, 2008 05:04
Grid supports
    grid.updateFromXML(url)

After such command grid will fetch data from server ( format same as used for initial grid loading ) - but instead of adding new rows it will update data in already existing rows.

    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/initialization_loading/grid_refresh.html?un=1202908714000
    ( third link on sample page )