Treeview showing right arrow

3 posts, 0 answers
  1. Frank
    Frank avatar
    103 posts
    Member since:
    Mar 2012

    Posted 10 Apr 2014 Link to this post

    I have a file explorer on a screen and it loads the treeview, but it always shows the right arrow next to every folder regardless if it has files or not.  How do you set it to not show that arrow if the folder is empty
  2. Frank
    Frank avatar
    103 posts
    Member since:
    Mar 2012

    Posted 10 Apr 2014 in reply to Frank Link to this post

    Was trying to edit my last post but do not see the edit anymore.

    I would like the arrow to only display when there are subfolders or when there are files in the subfolder.  I am using the file tree view and it is showing a right arrow next to all folders then when you click a folder if it is empty then the arrow disappears.  How can it be set to not display if folder is empty?
  3. Vessy
    Vessy avatar
    2070 posts

    Posted 11 Apr 2014 Link to this post

    Hi Frank,

    By design RadFileExplorer should show arrows/plus signs only before the folders which are not empty. This is not valid, though, when we are speaking about root folders. When you have more than one root folder, only the first one's content will be listed on load - the other root folders content will be checked on demand and until then a plus sign will be shown. If these are the arrows you do not want to appear - I am afraid that currently this behavior cannot be controlled.

    If you have arrows before each nested folder, though - this behavior is unexpected and will need to investigate the exact configuration what is causing the issue. It will be really helpful if you send us a sample fully runnable project demonstrating the case so we could examine it on our side.

    Kind regards,

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top