PDA

View Full Version : Display sql table menu in a tree view



mat.brighi
18th October 2011, 23:30
Hello, I have a database table that contains a menu structure like this: id, parentid, name. how can I display a tree view?

saeedIRHA
19th October 2011, 00:33
here is very good tutorial regarding your problem :
http://www.voidrealms.com/viewtutorial.aspx?id=53

good luck

mat.brighi
19th October 2011, 00:49
I want to display the menu in a QTreeView, not a QTableView.
other ideas?