Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windowsでdjangoプロジェクトに取り組んでいます...私のjstreeはこのようなものです...
根
親1 親2
parent1 をクリックすると、残りのすべての子 (ノードと json データであるすべてのサブノード) を追加したいのですが、parent2 などと同じです。基本的に、親をクリックすると、すべての子のみが取得されます