Try simply to add a editField and a treefield and add a changeListener to the editField. When it changes (write a char) you repopulate the treefield... that is the easiest way. I assume you have the date where you populate the treefield previously, so now must to select only those who meets the criteria..
发布评论
评论(2)
我想说实现类似 带有复选框和搜索条件的列表
因此,您有 TreeField 控件的向量,每个控件都有一些文本值,在输入文本时,您将遍历所有向量,并在第一个相等时聚焦一个字段。
I would say to implement something like List with checkbox along with search criteria
So you have vector of TreeField controls, each has some text value, on enter text you walk through all vector and on first equality focus a field.
尝试简单地添加一个 editField 和一个树形字段,并向 editField 添加一个changeListener。当它发生变化(写入一个字符)时,您将重新填充树字段......这是最简单的方法。我假设您有之前填充树域的日期,所以现在必须只选择那些符合条件的人。
Try simply to add a editField and a treefield and add a changeListener to the editField. When it changes (write a char) you repopulate the treefield... that is the easiest way. I assume you have the date where you populate the treefield previously, so now must to select only those who meets the criteria..