@azrico/reactgrid 1.3.23 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -297,7 +297,7 @@ function DataGridSearchWrapper(props) {
|
|
|
297
297
|
for (let index = 0; index < columns_to_search.length; index++) {
|
|
298
298
|
const col = columns_to_search[index];
|
|
299
299
|
const v = (p[col] + '').toLowerCase(); //value of column
|
|
300
|
-
console.log('v:', v);
|
|
300
|
+
console.log('v:', v, v.indexOf(lowerSearchText));
|
|
301
301
|
if (v && v.indexOf(lowerSearchText) == -1) return false;
|
|
302
302
|
}
|
|
303
303
|
return true;
|
package/package.json
CHANGED
package/src/views/DataGrid.tsx
CHANGED
|
@@ -462,7 +462,7 @@ function DataGridSearchWrapper(props: DataGridWrapperProps) {
|
|
|
462
462
|
for (let index = 0; index < columns_to_search.length; index++) {
|
|
463
463
|
const col = columns_to_search[index];
|
|
464
464
|
const v = (p[col] + '').toLowerCase(); //value of column
|
|
465
|
-
console.log('v:', v);
|
|
465
|
+
console.log('v:', v, v.indexOf(lowerSearchText));
|
|
466
466
|
if (v && v.indexOf(lowerSearchText) == -1) return false;
|
|
467
467
|
}
|
|
468
468
|
return true;
|