Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

search

Hello,
In my app i am using a list with a data filter i am mapping my list with a data coming from my DB there are about 700 info mapped in my list on more properties i am setting a value such as data-filter-reveal to true and using data-filter-placeholder i am adding a placeholder into the data filter....

Operations to Perform is:
1.On entering the value in the datafilter i am getting the list with what i am searching for... But on click of any of the item on the list i would like to display the text on that list in the datafilter and hide the list... Is it possible?

  1. On entering the values in the data filter i would like to give a condition such that it works only when the user has finished entering the first 3 letters of the item that needs to be searched and then start filtering data on basis of the first 3 words entered.... Please guide me thorough how to do it?
Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

search

Hi Ashok,

Take a look at here please:
https://getsatisfaction.com/apperyio/...

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

search

Sorry Katya that link actually doesnt serve my purposes, in that they are using a 3rd party resource to achieve his target where as mine is a appery's data filter please could u come up with a alternate solution to my problem and also could u please help me with both my questions put up

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

search

Ashok,

Thank you for updating your question, we'll search for a solution.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

search

Ashok,

Unfortunately, we don't have this specific tutorial. You would need to do this similarly, but for a Database service. Let us know if you have any specific question.

Ashok
Posts: 0
Joined: Fri Dec 06, 2013 5:55 am

search

Hi Katya,
Ill tell u how my app is functioning i have about 400 menu list item coming from the echo service. in the response of that echo service i am mapping it to the list and the entire list has a data filter and the list is give a property as data-filter-reveal as true ...
what this does is it will help me filter out the values in the huge list that i have when a user types in something in the data filter...
what i want to perform is using appery's own list component and its corresponding data filter....
What i need from the app is when a user enters in values in the data filter it displays corresponding filtered data ....on click of the filtered data i want it to hide the remaining list and display the value clicked in the data filter....
Also since the list is very huge i want the list to start filtering only after the user enters the first 3 characters what he would like to search

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

search

Hi Ashok,

If the list contains just a text, it's better to save the whole list in a localStorage variable (array) where you can easily delete items and then map to a list every time.

Return to “Issues”