01-15-2013 02:15 AM
Hi,
I have created a listview using groupdatamodel now i want to apply filters to that listview.How can do this?
please help me.(Like searching for contacts )
Regards,
Naresh Kodumuri.
Solved! Go to Solution.
01-15-2013 07:14 AM
From C++? or QML?
01-22-2013 03:25 AM
Hi,
I want to apply Filters using cpp!
01-23-2013 12:48 AM
Hi,
I found the solution for applying filters to listview.
01-23-2013 01:52 AM
Hi Naresh,
it would be great, if you can keep some description on how you acheived it.
Regards,
Sri...
01-31-2013 02:00 AM
Hi,
I am getting the Json response from the webservice and i parsed it and stored in the vector and i stored the same data in the datamodel and i set that datamodel to listview.
In the top of the listview i have on textfield for filtering the list,for the textfield i have used one signal onTextChanging(const QString ) here i filtered the list by comparing listdata with entered data in the textField and created new datamodel and stored the datamodel with filtered text.
In this way i achieved it.
2 weeks ago
I am going to re-open this thread and ask how you are comparing the data. Do you have a sample C++ or QML code snippet?