Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

Saran Ilango free 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" }]}



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 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 commented 5 years ago

Could you please move this question to React category?



Please insert min. 20 characters.

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 Academy
  • MDB Version: -
  • Device: web
  • Browser: chrome
  • OS: linux
  • Provided sample code: No
  • Provided link: No