Topic: Grid Tree Column - InsertTreeColumn
Hello fellow MVD users!
I read in the help files that the Grid component has the option to add a Tree column to it:
Form1.grid.InsertTreeColumn(0);
However there isn't more information of how can one tell it which column is the one that holds the hierarchy (ParentID) or if there needs to be some loop involved how to tell it that a row is a child of another row etc.
Does anybody know how to do so?
I ask because the TreeView component itself is a bit limited with how the "in-line" editing works (no dropdowns for cells etc.) nor can I manually "feed" it SQL like I can do with the Grid component by utilizing dbSQL.
As always thank you in advance for your time!