CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

[HowTo] Images in JQTreeView

by Alexander Bulei » 23 Apr 2013 16:50

To use images in the treeview, you have two ways:
  1. Image by node:

    • TreeNodes -> Item -> Picture
    You can use:
    - ImageIndex: index from imagelist
    - Picture: load custom picture
    - Url: url for image

  2. Image by property NodeRel:

This way facilitates you to set a picture for multiple items.

Steps for do this:

  1. Create TreeNode.
    Image
  2. Define NodeRel for some items
    Image
  3. In JQTreeViewOptions.TypesPlugin.Types add new item and set:
    • Icon.Image
    • NodeRel
    Image

Note: Available from V1.5.4.2048

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

Return to JQTreeView

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.