You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In function getFilteredList() in file selectors.js,
This line
if (searchValue != null && searchValue !== '' && show) {
show =
JSON.stringify(row)
.toUpperCase()
.indexOf(String(searchValue).toUpperCase()) !== -1
}
Here row is an object which contains column name as key and it's value as value. Now when we stringify this object, it will include column names as well in the created string. Ideally the the search filter should be applicable to row values and not column names.
The text was updated successfully, but these errors were encountered:
shoebaamir7
changed the title
Search filter include column names
Search filter should exclude column names
Aug 10, 2021
In function getFilteredList() in file selectors.js,
This line
if (searchValue != null && searchValue !== '' && show) {
show =
JSON.stringify(row)
.toUpperCase()
.indexOf(String(searchValue).toUpperCase()) !== -1
}
Here row is an object which contains column name as key and it's value as value. Now when we stringify this object, it will include column names as well in the created string. Ideally the the search filter should be applicable to row values and not column names.
The text was updated successfully, but these errors were encountered: