I have a custom TreeView that contains several UDTables. Each node you’ll see in the screenshot below represents a UDTable record. The problem is, I have parent nodes that have children, but some nodes aren’t showing as expandable with their children nodes. Only the first row shows they have children. In the screenshot below, you’ll see the nodes highlighted in blue show expandable nodes, but the nodes in orange, also have records and should be expandable, but they’re not.
What’s crazier is, if I switch to the records that aren’t expandable at first, using controls in my screen (not the tree), it looks like the tree refreshes and shows the nodes are now expandable, but the other rows that were just expandable aren’t anymore:
I tried MyTree.Refresh; and others, but I’m not getting anything to work. On native Epicor screens, each node that has child records is expandable right off the bat. For some reason, my custom screen isn’t doing that. I appreciate any insight. Is it the weekend yet!?