The following code example illustrates this. Use the expandIcon and collapseIcon properties of nodes to implement the expand and collapse features of the tree-shaped org chart. The full sample code is available here: Expand and Collapse append the image and inner stack elements Var desigText = new ej.diagrams.TextElement() Äntent = create the text element to map the designation data from the data source Var text = new ej.diagrams.TextElement() create the text element to map the Name data from the data sourceThe code example below includes all the previously discussed steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |