Reputation: 9837
GWT SuggestBox's search results are displayed in a <table>
element, which (obviously) contains one <td>
element per result. This causes the results to display on top of each other, like that:
Instead, I wish I could display the results side-by-side. Since the results are comprised within <td>
elements, I wonder how I could possibly make each <td>
to inline itself.
It would be neat to show the search results in a sort of grid (think of StackOverflow's tag suggestion widget, when you compose a question):
instead of a boring top-down list.
Any ideas?
Upvotes: 0
Views: 492
Reputation: 64541
What you describe is the DefaultSuggestionDisplay
(which uses a Menu
widget with one MenuItem
per suggestion), but you're free to implement a SuggestionDisplay
the way you want.
Upvotes: 4