dbassett74
30 Sep 2009, 9:52 AM
Is there a way to specify that when a grid currently has focus, and the user starts typing, a certain column will be queried (in this case "Name") that will try to find a match and jump to it?
For example, I have a grid such as:
-----------------------------
| Name | Description
-----------------------------
| Joe Blow | Joe really blows!
-----------------------------
| Dan B | Really cool dude!
-----------------------------
| Danny B | Another cool dude!
So if grid has focus, and user types the letter D, it will jump to the second row. If he continues to type "Dan", it will remain on that row, but if the user types "Dann", it will jump down to row 3, in this case. An added bonus would be that it also dynamically highlights the matching letters as the user types, but not entirely necessary.
Any help on this would be appreciated.
For example, I have a grid such as:
-----------------------------
| Name | Description
-----------------------------
| Joe Blow | Joe really blows!
-----------------------------
| Dan B | Really cool dude!
-----------------------------
| Danny B | Another cool dude!
So if grid has focus, and user types the letter D, it will jump to the second row. If he continues to type "Dan", it will remain on that row, but if the user types "Dann", it will jump down to row 3, in this case. An added bonus would be that it also dynamically highlights the matching letters as the user types, but not entirely necessary.
Any help on this would be appreciated.