DataTables : Selectable rows rendering issue


Topic: DataTables : Selectable rows rendering issue

scottwilliams pro premium priority asked 8 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 8 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
  • User: Pro
  • 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
Tags