Doing a treeview in MVC .
Clicking the blue icon expands next node and icon turn green. When I click "Client Alpha", Beta, Gamma or Delta the epansion occurs as expected. But when I click the icon for Issue 1, Issue 1's nodes expand but "Client Beta" is also hidden.
In the uploaded source code, I am getting the next div and using toggle() to hide/show.
What can I do to prevent the next "main node" from also hiding? What am I missing?

Darveson Wright98 reputationPosted Mar 29, 2021, 11:16 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Mar 24, 2021, 11:33 PM EDT
Darveson Wright98 reputationPosted Mar 26, 2021, 7:04 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Mar 26, 2021, 11:22 PM EDT