Friday, January 20, 2017

Re: SuggestBox in DataGrid?

Hi Hal Maner,

the DataGrid in GWT doesn't allow you to add a widget into a cell.
You have to implement your own cell renderer. 
For performance reason you can only use the SafeHtmlBuilder that you get pass in the render method.
So you can try to add an widget into the cell after an interaction with in the onBrowserEvent method.
But you have to be very careful onAttach and onDetach must be called correctly if you attache an widget into the dom.


Am Freitag, 20. Januar 2017 13:10:56 UTC+1 schrieb H Maner:
Hello everyone,

Has anyone been able to successfully use a SuggestBox in a DataGrid?  If so, how did you do it?

GWT 2.6.1, soon upgrading to 2.8 (thank you!).

Thank you,

Hal Maner

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment