Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The igTree is a dynamic control and it isn't limited to a pre-defined hierarchy - granted, your model has to conform to some base schema - there's no way the control can figure out bindings on it's own, however you can share a single binding throughout the entire tree. Basically you have to look at the right place - for example I've taken this <a href="http://www.infragistics.com/products/jquery/sample/tree/add-remove-node-api" rel="nofollow">Add Remove Node API sample</a> and with similar binding created this sample: </p> <p><a href="http://jsfiddle.net/damyanpetev/x4eAB/" rel="nofollow">http://jsfiddle.net/damyanpetev/x4eAB/</a></p> <p>What this is meant to demonstrate:</p> <ul> <li>The initial Hierarchy is random (some items have additional levels) - so you are not limited to a fixed levels for everything at start.</li> <li>Adding extra nodes can be done at any level, new nodes themselves can have multiples levels as well, so this gives you the unlimited hierarchy you need. </li> <li><p>When you define a single binding it is used for subsequent levers, so all items have 'Text' property and have 'Nodes' with more items with Text and Nodes inside and so on.</p> <pre><code>$("#tree").igTree({ bindings: { textKey: 'Text', valueKey: 'Text', childDataProperty: 'Nodes' } }); </code></pre></li> <li><p>Due to the shared binding any node can be a parent for any other, which means that you can enable <strong><a href="http://help.infragistics.com/NetAdvantage/jQuery/2013.1/CLR4.0?page=igTree_Drag-and-Drop.html" rel="nofollow">Drag and Drop</a></strong> with a single property and move nodes around as you please.</p></li> </ul> <p>I'm assuming since you want to have unlimited hierarchy your model items are similar and will easily match this case, if not you could use some LINQ to fix them up. That data structure you gave doesn't describe your model too well, so I would need some more info if this doesn't help you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload