I added a comment to this feedback post. In this post, I made a comment on how to get Tab select working in a grid component for a combobox.
It would be nice if tab select was a parameter for any dropdown component and autocomplete. Maybe a parameter called "TabSelect"? It would need to fire before the grid component picks up the Tab key first in InCellEdit mode.
If that was changed above, then the grid component could have the following:
Enter key to move down the list, and Shift-Enter keys to move up the list. Is there a way to do that currently, or could it be added?
Hello Anthony,
One drawback of this approach is that if there are two matching items, selecting one of them would result in unauthorized manipulation of data by the component. To correct the component value, the user has two options:
Regards,
Svetoslav Dimitrov
Progress Telerik
What should the component select if the Data contains two records that match the user input?
I think selecting the first record is totally fine.Hello Anthony,
Thank you for the additional information. I would like to ask a follow-up question: What should the component select if the Data contains two records that match the user input? For example, the Data contains "Manager Software Engineering" and "Manager Public Relationships". Both items will match the "man" user input and tabbing will always select the first alphabetically sorted item.
That being said, I believe that your requirement requires a custom solution and the one you have sent to me is the best possible one.
Regards,
Svetoslav Dimitrov
Progress Telerik
What you said above, users won't do often. The code that I supplied in the post will take the first record in the dropdown list if the tab key is pressed. So in your example, the first item in the dropdown list is manager. If I type "man" and click tab, it should select that list item because it's filtered down to the first record.
Here is a copy of the working code on the Role Column in the example you provided. Example
Hello Anthony,
The current behavior of a Grid with InCell mode is with a ComboBox (here is a REPL link where you can test):
Do you experience the same behavior?
Regarding the Enter and Shift + Enter. This will be available once the Add the ability to customize the keyboard shortcuts feature request is implemented. I have added your Vote for it and you can click the Follow button to receive email notifications on status updates.
Let me know if you have any further questions.
Regards,
Svetoslav Dimitrov
Progress Telerik