Customized WTreeView
Added by adam s about 3 years ago
Hi,
I'm thinking about writing some small tool to display/edit xml's on on the server and would love it to be web based, something similar to windows editors:
https://www.liquid-technologies.com/Content/images/products/xml-studio/reflective/xml-editor.png
http://www.stylusstudio.com/xml-grid-editor.html
https://www.altova.com/images/intelligent-json-editor.gif
My initial plan was to use WTreeView - use "table" part to put attributes in columns and "tree" to display xml tree structure and ItemModel to access xml DOM.
Since in xml each node is a different type I've created a "nested" WTreeView from ItemDelegate and set item row height to auto so it can scale properly, but missed requirement that all rows have to be fixed height.
Just wonder if there is an easy way to make this work other than rewriting the whole TreeTable? or is there a way to get a similar result?
Regards,
Adam