Hi,
I want to show the list of items, Rightnow, I am using ListView.
Query:
How to add an event for the row? Since I want to get the productId which is listed in ListView.
Is there any equivalent in Qt as GridView in .Net?
Hi,
I want to show the list of items, Rightnow, I am using ListView.
Query:
How to add an event for the row? Since I want to get the productId which is listed in ListView.
Is there any equivalent in Qt as GridView in .Net?
What do you mean with "add an event for the row"?
An event is something that is happening, what is the trigger or your event?
Also the QtQuick GridView is called GridView
Cheers,
_
Hi anda_skoa,
I meant the event when fires at row clicked, as if in Gridview in .net
Query: I will list the product in the listview, Now i want to fetch the ProductId when row of the listview is clicked.
Thanks in advance.
Just add a MouseArea into the delegate where you need to detect clicks.
Cheers,
_
Mathan (22nd September 2016)
Bookmarks