Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML GridView with sections
yazwas last edited by
I need a qml gridview element that has property like listview's "section ":http://doc.qt.nokia.com/4.7-snapshot/qml-listview.html#section.property-prop where I can visually seperate items to different parts.
any suggestions are most welcomed
I have the same goal, did you manage to do that? Anyone could give me any idea?
@Diego-Donate AFAIK there is no way to do such in
GridViewunless you create it on your own.
But what I'm trying to understand is how does this functionality makes sense in
GridView? How would you group the items atleast visually?
@p3c0 I have a collection of received files, and I would like to show them in a grid, but with headers displaying the date. I mean, a header "Today", and below a grid of the files received today,; another header "Yesterday", and below the files received yesterday... I hope I am explaining... Thanks
@Diego-Donate I think you can achieve this using
@p3c0 Thanks, I was thinking something like that. A ListView with sections (the date for the headers), and a GridView in every element. But I am confused about how to manage the model(s) to get the elements...