0

I searching for an useful Plugin or Idea for my app for reverse search.

I am not sure if it is he right english Word for it...so let me explain:

I got a list of ingredient in my cooking app.

If i choose to create a new receipt i have to scroll through the whole list of ingredients.

I want to be able to add an Letter to the ingredients list.

For example: "e"

Now my list only contains ingredients with the letter "e" at the beginning...for example "eggs"

Any Idea or hint for me? (Additional Info: I am using Searchable Plugin for Grails at the moment..maybe this matches my needs?)

bastianneu
  • 2,059
  • 2
  • 18
  • 31

2 Answers2

2

I think the term you are looking for is "AutoComplete"

A good starting point might be the RichUI Plugin which supports AutoComplete

Heinrich Filter
  • 5,760
  • 1
  • 33
  • 34
0

I looks like RichUI does what you are looking for, but I haven't used it yet. The way I do it is, I have an action in the controller that returns a JSON result of values for a given string. I call the action using AJAX (JQuery). If the list isn't dynamic, I just set the list in the gsp view, and use do a search using JQuery.

Langali
  • 3,189
  • 7
  • 38
  • 45