I have looked around the forum and I am have seen some posts / feature requests for treeview controls.
I don’t believe this has been implemented within PHPMaker as yet.
Has anyone come up with a work around for it?
I have a handful of tables with recursive relationships that would definitely benefit from this.
To change the data-attributes, you may use Page_Head event (see the topic Server Events and Client Scripts in the help file) to change the menu template, look for script tag with data-name=“menu” in the header.php, copy and paste to Page_Head and add your data-attributes.