Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4110
WebDataTree
posted

Where do you access the image for the node expand/collapse image (see screenshot below)? I've looked for an image property and tried CSS, but cannot find it. Thanks for your help in advance.

  • 15979
    Verified Answer
    posted

    Hello dbishop9,

     

    As David mentioned above there is currently no property available that can be used to change the images from the Visual Studio designer.

    What you can do is to change the image that is displayed for expand/collapse with your own image with similar size.

    The image name is “igdt_Plus.gif” and it is located in the “ig_res/Default/images/” folder located in your project.

    Note that if you use different styles for your tree you will have to change the same image for all of the styles in the project.

    Let me know if you have other questions.

  • 33839
    Verified Answer
    posted

    Hi dbishop9,

    I think you're right in that you cannot touch it via a property or css.  Did you want to style it or change the url?  If you want to change the url, just change the images in the styleset images folder.  Like igdt_Plus.gif, igdt_Minus.gif, etc.  If you use css on the igdt_NodeHolder and target the first image, that may get you what you want too.

    regards,
    David Young