Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Saurabh Malviya on Aug 13, 2009 08:28
open dhtmlx forum
Moving grid's parent object

In refernece to
http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=11048&a=18037

A) What menus do you mean? Context menu on cells and Header menu on Column headers
b) To save current grid state you can use method mygrid.getStateOfView(). Method returns details about current grid state:?
But what about the grid's content. This will not help if I need to get back grid's old content. Infact every attribute of
previous grid i.e. content, column types, combo contents etc.. (everything)


Thanks,

Answer posted by dhxSupport on Aug 14, 2009 07:10
a) Unfortunately we cannot reproduce this issue locally. Can you please provide us example where we can reproduce it (you can sample directly to the suppor@dhtmlx.com)
b)You can serialize grid to xml or csv formats to save it's content. Please find more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/guide.html#grid_serialize
http://dhtmlx.com/docs/products/dhtmlxGrid/doc/guide.html#grid_csv
After calling attachToObject() grid just change it's container. Any changes should not happens in the grid structure and columns' types.