0
如何在JXTable中爲1行添加多個過濾器?在JXTable上設置多個RowFilters
我試着使用:
int col = jxTable.getColumn("Tipo").getModelIndex();
RowFilter filter1 = RowFilters.regexFilter(0, "^N", col)
RowFilter filter2 = RowFilters.regexFilter(0, "^N", col)
jxTable.setRowFilter(filter1);
jxTable.setRowFilter(filter2);
但filter2
覆蓋filter1
用法:
我會做3個檢查不同的字母來過濾箱,
[ ]A [ ]B [ ]C
如果你檢查A,只顯示什麼開始w ith A,如果您檢查B和A,則同時顯示...