The Demos

Try them out and learn from their source code:

  1. Area Maps

    A complete demo that shows off various LiveTree features.

  2. Nested Set

    How to populate a tree from data in a table that acts_as_nested_set.

  3. Other Column Names

    How to populate the tree from data in a table that uses non-standard column names. Also demonstrates using a non-numeric ID column.

  4. Non-ActiveRecord Data

    How to use data that is not stored in the database.

  5. Custom Data Action

    How to create a custom data action, if you need more control.