Skip to content

treeTable : How to re-initialize the plugin after adding new table row #6

Description

@ravipara72

Dear All,

Need your help.

We use the "treeTable" plug-in to show the table data structure in a tree format. while loading the page we have in initialized the plug-in and see the tree structure on the table.Below is the code.
// Register Group Hierarchy tree plug-in
com_github_culmat_jsTreeTable.register(this);
treeTable($('#sdp_tabletree_rel-hier'));

but later, we are adding the new row in this table and this new row appended correctly at the level parent
.but when do expand/Collapse, this newly added tr is not showing under the level of parent. it is showing as the independent row.

how to re-structure the tree data once new row has been added manually.? Are there any methods.?

Regards,
Ravi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions