Closed valorloff closed 7 years ago
Hello!
Yes, the parent field containing the _id of the parent is just enough to form the tree.
If you want to set the icon used in the tree, you must use the icon field (not img), the name field should be named text.
Maybe, I should improve the documentation ;)
Thank for quick response! And what about if i write:
"mapping": {
"text" : "name",
"icon" : "img"
then i can remain "name","img" fields in Categories? I don't want to spoil the DB because tree..
Yes, this is absolutely correct.
Hi! is it correct database structure for your TreeView?:
Is it just parentId enough?