user2207
user2207

Reputation: 184

How to make the textfield remember history of words typed in GXT

Do we have an option to make the GXT textfield remember the history of the words that have been given as an input. So when i click the textfield next time, it should list all the searches below the textbox. Thanks in advance!

Upvotes: 1

Views: 197

Answers (1)

Kutty
Kutty

Reputation: 722

You can use an editable combobox. In order to look like text field and hide the arrow image in combobox, you can use setHideTrigger(false). So, you can have a combo box that functions like a text box. Also, you can add all the search terms in a store. That is it. You are done.

Upvotes: 1

Related Questions