在ListGrid(SmartGWT)的filter中使用通配符
我有以下ListGrid:
ListGridField eml = new ListGridField(EmlSearchItem.EMAIL, EmlSearchItem.EMAIL_TITLE); emlGrid = new ListGrid(); emlGrid.setWidth("70%"); emlGrid.setHeight("60%"); emlGrid.setFields(eml); emlGrid.setAutoFetchData(true); emlGrid.setSelectionType(SelectionStyle.SINGLE); emlGrid.setAllowFilterExpressions(true); emlGrid.setShowFilterEditor(true); emlGrid.setAutoFetchTextMatchStyle(TextMatchStyle. SUBSTRING);
根据JavaDoc设置allowFilterExpressions
为true应该启用通配符,比如*
但是我没有得到任何结果。
例如,我正在寻找a*com
当我有一个像12343@chat.mysite.com
这样的条目在我的列表中不会给我任何点击
我需要设置另一个标志来通过过滤在ListGrid中使用通配符吗?