dtkt.protoui.v1beta1protoui.proto

Tree

Message

Render as a tree structure with expandable nodes. Maps to Tree in @dtkt/ui/tree Use CEL expressions to construct TreeNode messages from your data. The message or field is available as this in the expression context. Example: this.folders.map(f, dtkt.protoui.v1beta1.Tree.TreeNode{label: dtkt.protoui.v1beta1.Data{text: f.name}, children: f.files.map(file, dtkt.protoui.v1beta1.Tree.TreeNode{label: dtkt.protoui.v1beta1.Data{text: file.name}})})

FieldTypeNumberDescription
nodesstring1

CEL expression that evaluates to a list of TreeNode messages. Context: this is the message or field being rendered. If not specified, uses the field value directly.