[ GridSuggest ] Show selected row name in input after find function

Hello

I have GridSuggest and inputText field. I use the inputText field to search for data in the gridsuggest. After the match was found it is selected in the Grid but the ‘name’ is not being shown in the inputfield of the suggest.

Any way to show it ?

Here is the snippet : Code Snippet ( try to search for Name )

Thank you for your time!

Hello,

Selection in the list is not connected directly with the value setting in parent combo (correlation is based on the user’s click). In addition to it, you need so usesetValue (selection is still required if the popup has to be shown):

comboBox.focus();
comboBox.setValue(findItem[i].id);
tableId.showItem(findItem[i].id); // useful for a scrollable list
tableId.select(findItem[i].id);

Thank you !