PDA

View Full Version : Building Tree view from Table view which is already build.



DURGAPRASAD NEELAM
2nd June 2015, 20:32
Hi, I have already posted my question here http://www.qtcentre.org/threads/62277-Building-Tree-view-from-Table-view-which-is-already-build?p=276052&highlight=#post276052

and I did not get an exact answer, can any one suggest some way to achieve this or some small example would be helpful for me to explore further.

Thanks in advance.

d_stranz
6th June 2015, 16:26
So why are you posting it again? It is bad etiquette to post, repost, and crosspost the same question multiple times and places. Stop doing it.

It will be better for you to build your tree model from whatever your primary data source is, not by trying to beat on the source after it has been converted to a table model to force it to look like a tree. Your data is already hierarchical, so just build the tree model from that hierarchy.