From 1d3dd8ea0a6e4929703ba38c0467dcdfb4c8b914 Mon Sep 17 00:00:00 2001 From: AllenFang Date: Mon, 7 Mar 2016 22:34:11 +0800 Subject: [PATCH] make column(hidden or display) can be searched --- src/store/TableDataStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/TableDataStore.js b/src/store/TableDataStore.js index fa97a191c..ca312876f 100644 --- a/src/store/TableDataStore.js +++ b/src/store/TableDataStore.js @@ -376,7 +376,7 @@ export class TableDataStore { if (this.colInfos[key] && row[key]) { const { format, filterFormatted, formatExtraData, searchable, hidden } = this.colInfos[key]; let targetVal = row[key]; - if (!hidden && searchable) { + if (searchable) { if (filterFormatted && format) { targetVal = format(targetVal, row, formatExtraData); }