Topic: Cannot read property 'toString' of undefined while filter value using search box
Saran Ilango asked 5 years ago
Hi Team, I have used mdbreact datatable here i am trying to filter value based on given in search box, while type text in search box following error throws "Uncaught TypeError: Cannot read property 'toString' of undefined" in dataTable. This table filter working fine with other pages i don't know what i missed it Code:
const data = { columns: [ { label: 'Email', field: 'emailid', sort: 'asc', width: 270 }, { label: 'First Name', field: 'namefirst', sort: 'asc', width: 270 } ], rows: [{"email": "text@gmail.com"}, {"namefirst": "xxxx" }]}
Bartłomiej Malanowski staff pro premium answered 5 years ago
To get your issue resolved, you should provide more details about the technology that you're using. Please ask your question in the proper category like React, Vue, Angular or jQuery
Saran Ilango commented 5 years ago
I am using reactjs with react redux, Here working fine other components but i don't why page crash with this issues
Bartłomiej Malanowski staff pro premium commented 5 years ago
Could you please move this question to React category?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB Academy
- MDB Version: -
- Device: web
- Browser: chrome
- OS: linux
- Provided sample code: No
- Provided link: No