Tab页签支持拖拽排序;Grid列支持拖拽排序;Grid列支持显示隐藏;表头下放搜索工具条演示;

This commit is contained in:
thinkgem
2020-07-29 17:56:48 +08:00
parent 38ee55bd38
commit a4ca4aeb18
17 changed files with 50 additions and 4 deletions

View File

@@ -46,6 +46,27 @@ public class ListUtils extends org.apache.commons.collections.ListUtils {
return false;
}
/**
* 是否包含字符串
* @param strs 验证字符串组
* @param strs2 字符串组
* @return 包含返回true
*/
public static boolean inString(List<String> strs, List<String> strs2){
if (strs != null && strs2 != null){
for (String s : strs){
if (s != null) {
for (String s2 : strs2){
if (StringUtils.trim(s).equals(StringUtils.trim(s2))){
return true;
}
}
}
}
}
return false;
}
public static <E> ArrayList<E> newArrayList() {
return new ArrayList<E>();
}