Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.
This repository was archived by the owner on May 7, 2022. It is now read-only.

Can we add Loading Gif or Message when Loading the list view or expanding the Tree node? #37

Open

Description

@praveenlobo7

Can we add Loading Gif or Message when Loading the list view or expanding the Tree node?

Activity

  1. ygoe commented on Jan 29, 2017

    @ygoe
    Owner

    Yes, we can! :-) This is the basic lazy loading pattern. You first add a dummy child under each tree node you want to expand. When the node is expanded (bind that property to your view model and react on it changed), that node becomes visible. This is your loading message. Then you start loading the children asynchronously, and when that's done, you replace the node children with what you've found. The actual children them become visible. Of course you also need to remove the dummy loading node first.

  2. praveenlobo7 commented on Jan 30, 2017

    @praveenlobo7
    Author

    Thank you for information.
    Is there any event that can be used when we expand the node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions