I am picking up C# with a module I am familiar with. The accounting module. Wherein, we list down a hierarchy of accounts: Level 1, within it, we will list all children (Level 2). Level 2 can also have children. Since I come from a Python background, I am unfamiliar if such hierarchy view is readily available in Toolbox. I tried data grid view and the list view, but they don’t serve the purpose.
In my database, I will have for each account, which level it belongs to along with the parent ID. So three columns in database. Account Name, Level and Parent ID. Based on this I will write a recursive function to order the table. That I am capable of. What I am struggling with is how to then show it to the user. I am sharing a demo image from SAP.
This is exactly I want to show that for Level 1 by default will have a arrow button, if clicked will show Level 2 children and so on. Which item from toolbox will help me achieve this?