Datatables datatable-disable-onclick doesn't work


Topic: Datatables datatable-disable-onclick doesn't work

WingedImagination pro premium priority asked 3 weeks ago

Why is the 'datatable-disable-onclick' functionality of the Datatables component not working as shown in the 'Clickable rows' example on the website? In theory, it should disable the onRowClick event — as indicated on the page https://mdbootstrap.com/docs/react/data/datatables/?, but in reality, it doesn't work. The example copied 1:1 from the website doesn't work — after clicking the icon with className='datatable-disable-onclick', the onRowClick event is still triggered.


Mateusz Lazaru staff answered 3 weeks ago

That's a bug, I'm adding a task to fix it.


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 React
  • MDB Version: MDB5 9.0.0
  • Device: Macbook
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: Yes
Tags