Complex Tree View controls possible?


I’m looking to build a reasonably complex tree view UI like this one (done with WPF), is it possible to do something like this in JUCE with checkboxes, dropdown, etc. on each row ?




Thanks for the quick reply !

Ok, so you implement TreeViewItem::createItemComponent() ?

Do you create a Component in this method, then create and add child Components (dropdown, checkboxes, buttons, etc) that make up the row(s) of controls that will appear when this Component is shown in the TreeView, then return the pointer ?


If you had a massive GUI that subclassed ‘Component’ with tons of child
components, you could return an instance of that class whenever this method
is called. Check out the demo project.