GWT Multiselect Dropdown Listbox

这一生的挚爱 提交于 2019-12-06 15:43:10

For anyone interested, I actually ended up rolling my own...

It's a TextBox with an Image next to it. And each of these has a ClickHandler that shows/hides a DecoratedPopupPanel positioned at (TextBox.left, TextBox.top + TextBox.height).

Seems to work alright for me - and I can put anything I want in it. Getting the Image to line up nicely with the Textbox is a little tricky in IE, but in FF it looks great. :)

Thanks!

I'm planning a UI that also has a multi-select requirement.

I currently intend using a popup dialog following the List-Builder UI pattern, which can be easier to navigate than a multi-select drop-down list - particularly with long lists. It's simplicity means you'll only need to use a plain list, not a drop-down/combo.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!