[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Select element in TableViewer starting with a specific character

Am 12.12.2008 12:48, schrieb Remy Chi Jian Suen:
Florian Bartels wrote:
Hello,

when the user presses for example the key "k" the tableviewer should
iterate over all rows in the table where the content of a specific
column starts with a "k". Basically the same as in the Windows Explorer.

I tried to write my own KeyListener. It works, but something is
happening in the background: My machine "beeps" when pressing a key.

Are you talking about the first column or any arbitrary column? The first column seems to work fine for me. It'll search my table's first column properly. I do not get a beep and did not attach any KeyListeners.

Remy

Unfortunately it is not the first column in which the name/label is shown. So it does not work "out of the box".


Florian