This is a migrated thread and some comments may be shown as answers.

Autocomplete custom suggestions

0 Answers 119 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 03 Apr 2012, 07:24 PM
I want to use a search box that will have some "intelligent" autocomplete to it. For example, if a user enters "c (some text", I want to only suggest based on the text after the (. That part seems easy enough. However, I want to be able to append the chosen id for the autocomplete after the (. Then, if the user enters ", some more text", (the input should look like "c (id1, some more text"), I want to autocomplete after the comma and insert the id at that point.

I'm looking to build a context aware autocomplete that will only present proper options based on the text before it and keep the preceding text because it is useful to the search function.

How would I go about doing this using the Kendo UI Autocomplete control?

Jason

No answers yet. Maybe you can help?

Tags
AutoComplete
Asked by
Jason
Top achievements
Rank 1
Share this question
or