The current implementation of TreeItemSelector requires a static array of nodes to display a tree. However, TreeItemSelector should also be usable with tree nodes in an Atk4/Model.
The included implementation offers an easy way to use any table which has tree items and references to a parent tree item id to build a dynamic tree.
It includes also an extended demo to show how it is being used.
Given the usage of model data, this will also be a prerequisite to understand the typecasting issue stated in #2022
The current implementation of TreeItemSelector requires a static array of nodes to display a tree. However, TreeItemSelector should also be usable with tree nodes in an
Atk4/Model
.The included implementation offers an easy way to use any table which has tree items and references to a parent tree item id to build a dynamic tree.
It includes also an extended demo to show how it is being used. Given the usage of model data, this will also be a prerequisite to understand the typecasting issue stated in #2022