在Listbox gwt中添加复选框项 [英] add checkbox item inside Listbox gwt

查看:91
本文介绍了在Listbox gwt中添加复选框项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想获得一个复选框的列表,我将在过滤器之后添加一个复选框GWT 2.2,java,eclipse

解决方案

您不能像CheckBox那样将小部件添加到ListBox中,也不会有CheckBoxList,但您可以使用 CellList 和一个CompositeCell(TextCell + CheckboxCell),它会做你想做的。


How can we add Checkbox item inside Listbox or there is a checkboxlist i did not see ?

i want to get a list of checkboxes that i will after filter a list of appointments by checking those checkboxes

GWT 2.2 , java , eclipse

解决方案

You can't add widgets like a CheckBox to a ListBox, nor is there a CheckBoxList, but you can use a CellList with a CompositeCell (TextCell + CheckboxCell) and it'll do what you want.

这篇关于在Listbox gwt中添加复选框项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆