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
285
Create dynamic nodes on a IgTree
posted

Hi,

I have 2 issues here :

ISSUE-1

I want to use the IgTree on an load-on-demand way. At the same time I want to create dynamic nodes. Basically my tree is a kind where users can create Child folders at any parent level. Dynamic folders can be from the context menu option of a any node. I could not find any such example of its kind. 

ISSUE-2

 I am using XML with hierarchical  structure using client side binding. But I found the following limitation on igTree. (http://help.infragistics.com/Help/NetAdvantage/jQuery/2011.2/CLR4.0/html/igTree_Known_Limitations.html)

Could you please help me with ISSUE-1 and let me know when you will be providing the support for ISSUE-2

Thanks,

Anirban

  • 5105
    Offline posted

    Hi Anirban,

    Is ISSUE-1 anything close to the scenario described here: http://forums.infragistics.com/forums/t/64875.aspx ? Note that as I have already described in that forum thread, add/delete nodes is not supported directly in the tree, but you can be doing it in the data source.

    About ISSUE-2. Loading XML directly by the browser and using it as a data source is not a very common scenario as it is not consistently (if at all) supported by all browsers. Some browsers like IE throw security warnings, other directly block it. That is the reason for us to have better support for XML loaded on the server and delivered to the client in the form of JSON (this is the MVC XML scenarion sampled here: http://samples.infragistics.com/jquery/tree/binding-in-asp-net-mvc).

    Is it a must for your purpose to have XML directly loaded on the client? XMLs are usually large and this is slow even in terms of loading time.

    Looking forward to your reply!