Table Item sorting

hi

Im new to vaadin… I have one table in verticalLayout that contains many items which is fetch from database and displayed… now i have two textfield below the table in horizontal layout… Now my question is that When im getting start to type in one textfield , the table item should be sorted based on my keytyping in textfield…

I tried this… its working with value change listener of a textfield… but i need to do this in every key is pressed…

is KeyPressEvent or Listener in Vaadin ?? if there means, how to do this…

I have seen in vaadin forum , they suggest some one that use superimmediate textfield, but i dint understand what was that…

can anyone help me…

how to do this… any suggestion welcomes…

thanks

prabu

The core Vaadin TextField doesn’t support sending updates for every keypress, so a custom component is needed. As you already read somewhere, SuperImmediateTextField is the way to go. It is an additional widget that you can download from
Vaadin Directory
. You have to compile your widgetset after adding a custom widget (this is basicalla Java to JavaScript compilation that you do one time). Step-by-step instructions on how to do it can be found
here
.