Save to file With Node Info


I'm populating data into a TAdvStringGrid on connection to a server. I'm creating Nodes with myGrid.AddNode. This is all working, but I can't find a way of saving this data to file and reloading it and having the node information reloaded for when the server is unavailable. 

I thought SaveToXML and LoadFromXML would do what I wanted, but there's no nesting in the XML file that shows which are child elements when the file gets saved.

Is there something I'm misssing, or is this not possible?



To save the entire grid state, including nodes, to a file, you can use


Thanks very much Bruno,

Works a treat.