Topic: Cannot read property 'toString' of undefined while filter value using search box

Saran Ilango free asked 4 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": ""}, {"namefirst": "xxxx" }]}

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 free commented 4 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 commented 4 years ago

Could you please move this question to React category?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Academy
  • MDB Version: -
  • Device: web
  • Browser: chrome
  • OS: linux
  • Provided sample code: No
  • Provided link: No