Hi John 

I do have a question regarding redrawing the entire DataGrid/CellTable when 
new data is pushed in. 
I tried to implement a SearchTextBoxes in the ColumnHeader for filtering the 
data which is displayed in the CellTable. 
As soon as I type a character into the SearchTextBox in one of the column 
headers I filter the ListDataProvider and the CellTable is refreshed. 
However the refresh/redraw of the celltable causes the SearchTextBox input 
to lose its focus and currently in GWT 2.3 there is no way to specify that 
the SearchTextBox gets the focus back which leads to painful user experience 
(the user has to click into the SearchTextBox again to type in the next 
character). 

I have posted this question in Stackoverflow (
http://stackoverflow.com/questions/6422896/celltable-with-custom-header-containing-searchbox-and-focus-problem)
 
but got no responses. 

<https://lh5.googleusercontent.com/-QSUJ0kixSwc/TlIhZUqdDGI/AAAAAAAAAFs/o48fsjiC5Yc/celltable_search_header.png>
I solved this problem by creating another table above my CellTable,  putting 
the Searchboxes there and trying to align them to my CellTable headers. But 
that doesn't seem to be a really good way to do it (check screenshot). 

Can this problem be solved with the new CellWidget API in 2.4 ?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/pFoH_rTnnb8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to