Modify Tree View for UD Table Screen

I am using a UD table for a set of data and have created a corresponding UD form. My data is located in the fields, Key1 and Key2. The relationship of the fields is One-to-Many (the value in the field, Key1, may have multiple corresponding values in the field, Key2). I can only get one of the values to display in the Tree View and it appears for each time it appears as a row in the Table. Can I customize the Tree so that it displays the distinct value of the one field on the first level and the corresponding distinct values of the other field at the second level?

Not sure how much this will help but the topic below includes a video that covers “Showing Custom Child on the Tree Node”. Some interesting info on the treeview attachments and related keys.

https://www.epiusers.help/t/code-from-meug-presentation-on-5-20-2020-customization-tips-and-tricks/67376

And if you search this site you can find a few more topics related to treeviews.
(Most of what I’ve seen is related to cycling thru/finding nodes though).

Thanks, Bruce. I had seen this as well and am trying to determine how to apply it to my situation when I am only working with a single table and its value. It may be something that can’t be done.

Yeah… in my spare time I’ve been looking at treeview controls in Epicor
However most of the underlying mechanics remain a mystery (to me).
Not listed in the controls, have only seen few examples on manipulating.
A while back I thought a trace in Job Entry while changing tree options might shed some light but…that ended up looking like a can of worms - creating personalizations w/chunks. TBD…someday.