Tuesday, July 2, 2013

Re: Use SuggestBox suggestions in another widget

Hi,

the best code to refer is the source code of SuggestBox itself.

Having a look at this constructor you'll notice an interface SuggestionDisplay. The default implementation uses a MenuBar to display a list of text items. You can easily implement any custom rendering by implementing this interface and passing it to the SuggestBox's constructor.


Cheers,
Johannes


Am 02.07.2013 um 23:49 schrieb rahul neekhra <rahul.neek@gmail.com>:

Thanks Kartik...
with "Customized Display" u mean a simple panel right? or its diff widget.
And also i donnot need the suggestion which we usually(like google search) show in suggest box instead i need to show it in seprate panel. how can I refresh my suggestion all the time in another panel when we type in suggest box?
please refer some code if you can.
 
Thanks
Rahul

On Tuesday, 2 July 2013 15:49:13 UTC-4, Kartik Suba wrote:
Hey you can easily make Customized Suggestion box and also a Customized Display associated with it that will show the suggestions in the panel where ever it is. I have already implemented a Custom Suggest box as I wanted the SuggestionList to be displayed even when nothing is entered. So that I can easily extend and incorporate your functionality. Do try making customized one altogether. Do let me know if you needa code for reference. 

Kartik...

On Tuesday, 2 July 2013 03:26:50 UTC+5:30, rahul neekhra wrote:
I need similar thing, but in my case i want to hide the suggestion from text box and need to list them in seprate Panel with additional info.
How we have achieve it?
 
Regards
Rahul

On Tuesday, 16 June 2009 13:56:08 UTC-4, Josh wrote:
Hi,

I have been trying to think of a good way to add a specific feature to
my application to search through a list of data, but can't figure
anything out.  Here is what I would like:

The interface would be a suggest box, and a vertical panel, or grid of
some sort with data.

Initially all of the options are shown, as links, in the vertical
panel/grid.  When the user starts to type in the SuggestBox, not only
does the normal SuggestBox functioanlity occur, but also the panel/
grid of all data updates as well to only have entries that match the
users input.

Is this possible?

Thanks,
Josh

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment