TreeView DataSource filter after calling load()

2 posts, 0 answers
  1. Rod
    Rod avatar
    3 posts
    Member since:
    Dec 2010

    Posted 07 Jun 2017 Link to this post

    Dojo example: http://dojo.telerik.com/EZUfO/2

    In this example, I want to display some nodes in the treeview (directories), and hide other nodes (files). If you expand "dir1" and "dir2" you can see that the filter works as expected (/dir1/dir2/file is hidden). I also manually call load() when selecting a treeview node, so that I can reference a node's children simply by clicking on it (see select event callback).

    Steps to reproduce undesired behavior:

    1. Expand dir1
    2. Click on dir2 (don't expand it)
    3. Click on dir1
    4. Expand dir2

    After step 4 you should see that /dir1/dir2/file is shown in the treeview. Is this expected behavior? I would like /dir1/dir2/file to always stay hidden, according to the datasource's filter.

  2. Rod
    Rod avatar
    3 posts
    Member since:
    Dec 2010

    Posted 07 Jun 2017 Link to this post

    Actually, could a moderator please delete this thread?
Back to Top