Topic: table-editor search error with pagination off

Odhran priority asked 2 years ago

With the table-editor plugin, when I set pagination to false and search, I get a javascript error and the search doesn't work:Cannot read properties of null (reading 'setAttribute') in table-editor.js

I used the Async Data example and just set pagination to false.

const asyncTable = new TableEditor( table, { columns }, { loading: true, pagination: false } );

Dawid Wajszczuk staff answered 2 years ago


Thanks for reporting this. It has been added to our TODO list.

Keep coding,

Odhran priority commented 2 years ago

Any workaround for this?

Dawid Wajszczuk staff commented 2 years ago

Yes. Change loading: true to loading: false as in the example from documentation that you have sent and it will work fine. Here is the snippet

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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.0
  • Device: laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes