Basic Example

Tree View

This example showcases using RfTreeView in a non dynamic way.

The example makes use of a common menu like structure of pages and actions showcasing how to interact with a RfTreeNode.

The Add New entries are the interactive ones: they carry NodeData and a NodeClick handler, so clicking one opens a prompt. Everything else only expands, collapses, or follows its LinkUrl.


Live switch. When false, RfTreeNode.NodeClick stops firing while expansion, collapse and LinkUrl keep working.

Uncheck it and the Add New prompts go silent; check it again and they come straight back. RfTreeView re-reads AllowClick each time its parameters are set, so the flag applies in both directions long after the first render (#98).

An unhandled error has occurred. Reload 🗙