Solved

How to create a treeview?

  • 23 October 2019
  • 1 reply
  • 20 views

Userlevel 1
Badge +2

I want a drop down for merchant to view all the categories of products they sell.

Can you assign treeview to a view?

 

icon

Best answer by Mark Jongeling 23 October 2019, 09:53

Hey Ashwini,

Creating a tree view is not as hard as you might think. Using a view is a very good choice. See https://office.thinkwisesoftware.com/docs/docs/sf/subjects.html#tree for more information. To use the tree view, you should have a parent-child relationship with your categories as parent and products as child.

  • Category A
    • Product 1
    • Product 2
  • Category B
    • Product 1
    • Product 2
    • Product 3

You will also need the Tree view screen component to show it in your application. Hope this helps!

View original

1 reply

Userlevel 6
Badge +11

Hey Ashwini,

Creating a tree view is not as hard as you might think. Using a view is a very good choice. See https://office.thinkwisesoftware.com/docs/docs/sf/subjects.html#tree for more information. To use the tree view, you should have a parent-child relationship with your categories as parent and products as child.

  • Category A
    • Product 1
    • Product 2
  • Category B
    • Product 1
    • Product 2
    • Product 3

You will also need the Tree view screen component to show it in your application. Hope this helps!

Reply