Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Demetris on Feb 18, 2008 22:40
open dhtmlx forum
TreeGrid unique generated page and save data

Hi!

we buy your component TreeGrid and i want to ask some questions.

can you reccomend how to save info from client side treegrid to the server database there are no samples for this task?

and how generate unique page for some sessions so that some user could open page with tree and look different dynamical branches of the tree.

thank you for your answers.
Answer posted by Support on Feb 19, 2008 03:57
>>can you reccomend how to save info from client side treegrid to the server database there are no samples for this task?
You can use dataProcessor library which included in pro edition - it allows to specify server side script which will be polled for each changes in grid ( component will transfer all necessary info to this script )
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/dataprocessor/savedata_grid.html?un=1203423114000
Sample for php included in package, if you need sample for different server side platform - please contact us directly at support@dhtmlx.com

Also treeGrid can be saved by serialization back to XML, but it is more complex solution.
Answer posted by Support on Feb 19, 2008 03:58
>>and how generate unique page for some sessions so that some user could open page with tree and look different dynamical branches of the tree.

You can have a dynamical XML source

    grid.loadXML("some.jsp");

some.jsp will have access to all session variables, so it possible to fetch and output XML data specific for current user