This type of loading tree data presupposes that the user should have CSV represented as a string or a file.
reload from CSV string (textarea, make sure that items are separated with CRs) load from external CSV file |
Format of CSV.
A tree item is represented with three values - id, parent_id, text. The order of rows in CSV doesn't matter.