Recently, the company has to make a tree table in its project. Since ztree has been used to implement the basic tree structure before, it is natural that I first thought of using ztree to do it. I searched online for tree tables made by others. Some used ztree and some used treeTable, but the results were not very good. So I made one myself based on the method of using ztree and posted it for your reference. Please read the comments. The effect is shown below.