Suite samples
Tree samples
Usage
Setting Tree state
Setting Tree state.
Check documentation:
Setting/getting Tree state
Set state
{ "Books": { "open": true, "selected": 2 }, "Thrillers": { "open": true, "selected": 2 }, "Bestsellers": { "open": true, "selected": 1 }, "Lawrence Block": { "selected": 1 }, "Robert Crais": { "selected": 0 }, "Ian Rankin": { "selected": 0 }, "James Johns": { "selected": 0 }, "Nancy Atherton": { "selected": 0 }, "History": { "selected": 0 }, "John Mack Faragher": { "selected": 0 }, "Jim Dwyer": { "selected": 0 }, "Larry Schweikart": { "selected": 0 }, "R. Lee Ermey": { "selected": 0 }, "Horror": { "open": true, "selected": 2 }, "Stephen King": { "selected": 0 }, "Dan Brown": { "selected": 0 }, "Mary Janice Davidson": { "selected": 1 }, "Katie Macalister": { "selected": 0 }, "Fiction & Fantasy": { "selected": 0 }, "Audrey Niffenegger": { "selected": 0 }, "Philip Roth": { "selected": 0 }, "Teens": { "selected": 0 }, "Joss Whedon": { "selected": 0 }, "Meg Cabot": { "selected": 0 }, "Garth Nix": { "selected": 0 }, "Ann Brashares": { "selected": 0 }, "Magazines": { "selected": 0 }, "Sport": { "selected": 0 } }