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: DataTables : Selectable rows rendering issue

veritas priority asked 7 months ago


Expected behavior Datatable should render properly when using the UMD (data-mdb-datatable-init data-mdb-selectable="true" data-mdb-multi="true") attributes.

Actual behavior

Table renders the "No matching results found" row as a selection along with extra select all checkbox in the header.

Resources (screenshots, code snippets etc.)

Snippet: https://mdbootstrap.com/snippets/standard/kellyjromer/6087728

screenshot


Kamila Pieńkowska staff answered 7 months ago


When you input data with JS do not use auto init attribute data-mdb-datatable-init. When you remove it will work.



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.2.0
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: MacOS Sonoma 14.3
  • Provided sample code: No
  • Provided link: Yes