Clear datatable rows


Topic: Clear datatable rows

elmajed2007 asked 3 years ago

Clear datatable rows

How to reset datatable to display only columns headers and clear all rows?


elmajed2007 answered 3 years ago

I found solution to clear row by passing empty array but now i have another question, How to customize message No matching rows found? How to customize message No matching rows found


Marcin Luczak staff answered 3 years ago

To change the 'no result' message use noFoundMessage option from the API section of the documentation.

Also, this is the support section for the MDB4 jQuery technology, and your Datatable is from the MDB5. In the future, please post your questions in technology related section. This is for benefit of other users trying to find similar problems.

Keep coding, Marcin


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: MDB4 4.19.2
  • Device: computer
  • Browser: crome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No