Hello
I have two tables in SQL database and 1st table I have created as a parent In QtreeWidgit using QtreeWidgetItems now I have to add children in parents items respectly, here is the example
table1
Name
- Marcus
- Andreas
- Jacop
table 2
Column 1
Devices
- Laptop
- Cell Phon
- Pc
- Laptop
- PC
- Cell Phon
Column 2
Name
- Marcus
- Marcus
- Marcus
- Andreas
- Andreas
- Jacop
Here table 1 is my parent items and table 2 has two column first is my children items and second I have given for the reference.
Now I have added parent in my QtreeWidget using QtreeWidgetItem but I am not able to add children saperatly.
Main problem I am getting is, Wheneever I add children, All children were added In each parent .
Looking for your advise
Thanks in advance.
Bookmarks