jQuery UI Widgets Forums TreeGrid Multiple Children Possible?

This topic contains 3 replies, has 2 voices, and was last updated by  ivailo 8 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Multiple Children Possible? #76151

    mikedcmdva
    Participant

    Is it possible to have children of children with Tree Grid?

    EG:

    Mr.CEO
    Mr.Director (Child of CEO)
    Mr.Manager1 (Child of Mr.Director)
    Mr.Manager2 (Child of Mr.Director)
    Ms.Manager3 (Child of Mr.Director)
    Mr.Supervisor (Child of Mr.Manager1)
    Mr.Employee (Child of Mr.Supervisor)
    Ms.Employee (Child of Mr.Supervisor)

    Make sense? Essentially, I am trying to develop a call tree for a department in an organization, such as Finance. If there are better ways, feel free to let me know suggestions.

    Thank you!!

    Multiple Children Possible? #76156

    ivailo
    Participant

    Hi mikedcmdva,

    Yes, it’s possible. Here is a demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Multiple Children Possible? #76159

    mikedcmdva
    Participant

    Thank you, does this logic allow for many levels down from the root (such as six or seven)? I am thinking it would as long as the ID’s follow correctly..

    Multiple Children Possible? #76177

    ivailo
    Participant

    Hi mikedcmdva,

    Yes, the logic allows many levels. You only have to set correct width of the first column, cause the last level can be hidden(the hidden part is replaced with ellipsis). This is generated by the offset of the inner elements, so keep it in mind.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.