View Full Version : Tree + property grid (or how to put any struct into tree)

18 Oct 2012, 5:15 AM
Hi there,
I need custom tree whose leaves are not single items but multiple properties (key-value structure). Visualy it would look like property grid. Root items act like group. Also some properties in that list could be group too, which hold another properties or groops. Simply put: need editable tree which can hold any associative array (but leaves hold two values - property name and it's value).

Goal is to get like this:

+ Widget
+ Window
+ Position
- x: 100
- y: 100
+ <Another subgroup>
- <subgroup_property>: <value> <------ there must be two cells, it's like property grid row

I'm very new to extjs, so maybe I could miss existing widget or plugin doing that work. If it is not, would be nice to know how to write own component from scratch or modify/extend. Maybe just need use treegrid and add customs columns (like combobox, spinbox for values), but root elements do not need columns, only leaves. So any advice appreciated, thanks in advance and sorry for terrible grammar :-)

P.S. I just thought another formulation of my problem: how to create property grids into nested groups!

18 Oct 2012, 10:54 PM
So no suggestions? 8-|

17 Nov 2014, 10:10 AM
@desp did You finish Your project? I need same functionality and before I start writing something by my own I thought I'll search forums.
Anyone had same problem?