jQuery UI Widgets Forums Angular JqxTreeGrid Angular Examples with HTTPClient

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • chandrapraba
    Participant

    Hi All,

    I’m trying to build a tree view to display hierarchical view in my angular 9 application.

    I went through the documentation, where VirtualMode is given as sample (Thhis example – kind of get’s the data hardcoded in the Component).

    My requirement is – I want to use a rest api to load the root nodes on load and when root node is expanded use rest api to load the child nodes.

    Can you please guide me to a sample.


    Peter Stoev
    Keymaster

    Hi chandrapraba,

    The virtual mode example of the TreeGrid indeed loads local data instead of data through Rest API. However, the approach shown in the example is the one you could use in your case, too. The data binding is through a dataAdapter. The dataAdapter can have ‘localdata’ param or ‘url’. When ‘url’ is set, the data binding is to an external data source.

    Regards,
    Peter

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

You must be logged in to reply to this topic.