TreeView - load children's data with pagination support

Posted by: gkukko on 1 August 2018, 3:30 pm EST

  • Posted 1 August 2018, 3:30 pm EST

    Hi,

    I am using WJTreeView in our angular 2 project for showing hierarchy representation of data. To load the children’s data I use lazyLoadFunction, where itemssource is updated with all it’s children.

    I am trying to update the treeview i.e. it will only load few (e.g. 25) children in lazyLoadFunction and when user scrolls then load another data.

    I think, this is useful if there are hundreds of children’s available.

  • Posted 3 August 2018, 7:11 am EST

    Hi,

    As we understand, you would like to load TreeNode on the scroll for Child Nodes not for TreeView.

    If this is the case, could you please let me know the loading should be on TreeView scrollbars or you would like to show the scrollbar for TreeView’s nodes too.

    Please confirm this…

    Please also confirm if you are looking for data load on scrolling for the same level or you would like to load data for child nodes in a loop.

    ~Manish

  • Posted 5 August 2018, 3:15 pm EST

    Hi Manish,

    Your understanding is correct. We would like to load the data on treeview scrollbars. I don’t think showing scrollbar for TreeView node is good option.

    We are looking for data load on same level. Please let me know if you need more information.

  • Posted 5 August 2018, 11:44 pm EST

    Hi,

    We have logged your request with internal tracking id 337323.

    We will let you know for any updates on this.

    ~Manish

  • Posted 23 August 2018, 11:07 pm EST

    Hi,

    We are sorry for the delayed response on this issue.

    We have created a small demo sample for level 1 child loading on demand while scrolling. Please refer to the attached sample.

    ~Manish

    TreeView_InfiniteScroll.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels