Tree Adaptor Examples

API Reference:

Jx.Adaptor.Tree.Parent

This example does not use ajax to fill the tree and it does not monitor the folders to load. It uses the Parent/folder version of the adaptor.

Jx.Adaptor.Tree.Mptt

This example does not use ajax to fill the tree and it does not monitor the folders to load. It uses the MPTT (Modified Preorder Tree Traversal) version of the adaptor.

Jx.Adaptor.Tree.Parent - Advanced example

This example is offline for now. The code still works we're just moving the backend to a different format. We'll remove this notice when it's working again.

This example simulates a file tree. It uses ajax to load the data from the server (via the Progresssive strategy) and monitors the folders for the disclosed event and loads the folder contents from the server if it doesn't already exist. You should notice the ajax loading icon replaces the folder icon while it's loading. Check out the code sample to see exactly how this is done.