score:3
omg 3-4 hours wasted not realizing filteredvalue has to be an array of strings!
filteredvalue: [this.state.alertfilter.tolowercase()],
onfilter: (value, record) =>
record.alertname
.tostring()
.tolowercase()
.includes(this.state.alertfilter.tolowercase()),
yes, the doc does say that, it just didn't click, didn't see it or something to that effect.
putting the answer up here for the next developer using google to find help...
Source: stackoverflow.com
Related Query
- How to filter antd table w/o using filterDropdown?
- How to filter on ANTD table when the column is a JSON array instead of a string
- how to filter all columns of html table using react js?
- How to do OR filter using DevExtreme React Grid Table with either FilteringState and/or LocalFiltering?
- How to filter a React table using custom filter component?
- Table Filter with DatePicker using antd
- How to filter a table using multiple user inputs on a React.js app
- How to display nested json data using antd table in react
- how to make 3 nested table using antd react js
- how to sort a table in alphabetical order with antd
- How to submit form component in modal dialogue using antd react component library
- How to set value dynamically inside Form.List using setFieldsValue in Antd 4?
- How can I set default sorter and filters on antd table components?
- How can i create a table using the react-pdf library for generation pdf report?
- How can i change the cell colour in ANTD table according to the value?
- how to add row to a table using ReactJS on button click
- How to upload an Excel sheet file using react.js and display data to a table
- How to make the API call and display it in React JS using React Table and Axios?
- How to deal with "Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>. " when using react-window to render table rows
- Using React Date Range picker to filter a React table
- how to set the antd table page size in reactjs
- how to display data in table using json in react js?
- How to Disable Row in Antd Table
- Using different font size in each row in antd react table
- React Typescript: Antd Table filter
- Antd - How to make rounded borders for Table rows?
- Filter antd Table With datePicker in react
- How to change the selected table row background using Material-UI on React
- How to retrieve data from the server using fetch get method and show it in a table
- How to push dynamic columns and row data to antd table
More Query from same tag
- Cannot use React.lazy with Material UI icons
- React doesn't render all images in a list
- How to fix TypeError _interopRequireDefault is not a function in Create React App
- React Native WebView rendering unexpected border at bottom
- firebase2.default.firestore is not a function - React Firebase
- Using React Redux Loading Bar : Cannot read property 'default' of undefined
- ChartJs chart in typescript: Object is possibly undefined in useEffect
- Reactjs Filtering a huge array of objects best practices
- How would this React code look like without a template string and without a conditional (ternary) operator, but with if-else?
- How to show store timings in slots form?
- Change navbar color depending on scrollbar position
- react-transition-group not work until reload the page
- React Typescript onChange function typeError
- render svgs and set inner css within a React component .this
- Firestore v9 update specific object inside an array
- TypeError: Cannot read property 'email' of undefined props using Jest and React. Why?
- Enforce jsx to start on new line if jsx is multiline
- Why am I not able to route my app? react - react-router - redux-router
- Link should be applied if only condition gets true in react js
- How to update a clock every second in React js recursively?
- REACT Cannot find module for images
- React does useState by default call function without parenthesis
- React Hook useEffect to fetch data from local json file to create a details page
- React: Number input with no negative, decimal, or zero value values
- RSocket error 0x201 (APPLICATION_ERROR): readerIndex(1) + length(102) exceeds writerIndex(8): UnpooledSlicedByteBu
- DetailsList - Display a message when empty
- Including React (react-rails) into a Rails Engine
- Why min and max range method does not return valid output
- How to continously map an array in JavaScript?
- Only last list item gets rendered in React