Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Regarding Hiding a node in XAMOrgChart if there is no child at one parent
posted

Hi All,

I am using XAMOrgchart, it's working fine but we have to hide one node if there is no child of that node. For example if root node is Bank there are 2 child nodes savingAcnt and CurAcnt(we have kept these 2 as Static words, not coming from db). further all accouns linked to SavingAcnt comes under child of SavingAcnt node and similary for CurrentAcnt. if we have no account under CurrentAcnt then XAMOrgChart should only displa 1 child node SavingAnt and it's childrens. please suggest how to do it?

Regards

Hitesh

Parents
No Data
Reply
  • 415
    Offline posted

    Hi All,

    was digging and found the solution. just for others reference can be done as mentioned in http://ko.infragistics.com/community/forums/t/63157.aspx.

    it will disable the node if it doesn't have any child.

    Regards

    Hitesh

Children