qt - Nested TableView -
i created nested tableview elements of main tableview.
for example, if rowtitle == ""brilliance"
, created subtableview row.
listmodel { id: librarymodel listelement { title: "a masterpiece" author: "gabriel" } listelement { title: "brilliance" author: "jens" } listelement { title: "outstanding" author: "frederik" } } tableview { tableviewcolumn { role: "title" title: "title" width: 100 //if title==""brilliance" create second tableview } tableviewcolumn { role: "author" title: "author" width: 200 } model: librarymodel }
do have idea how ?
thanks lot !
Comments
Post a Comment