Skip to main content

Source Data Persistence

You can persist an unbound TreeList control’s source data across multiple work sessions. To accomplish this, you can call the control’s SaveToFile or SaveToStream method to store its data to a file or stream. To load stored data from a file or stream to the control, call its LoadFromFile or LoadFromStream methods. You can load source data to any unbound TreeList control, provided that its structure matches the structure of the data source being loaded (i.e. column data types and ItemIndex property values match).

See Also