Topic: DataTable column type is not searchable
almogmbim free asked 4 years ago
Expected behavior
i have one column which contain the following value
<MDBBadge style={{width: '53px'}}
color="success">Active</MDBBadge>
or this:
<MDBBadge style={{width: '53px'}}
color="danger">Revoked</MDBBadge>
searchable DataTable with column component should be searchable by search inputsuch as Active or Revoked*Actual behavior*search output is always null*Resources (screenshots, code snippets etc.)*
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: Desktop
- Browser: chrome
- OS: Ubuntu 19.04
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
we have en example with badges. Did you use them? https://mdbootstrap.com/docs/react/tables/datatables/#with-soriting-component
almogmbim free commented 4 years ago
thank you i will try that