Getting data from checked row on DataTable


Topic: Getting data from checked row on DataTable

yujanrichie asked 6 years ago

I want to place checkboxes on a datatable. Your example in  https://mdbootstrap.com/docs/react/tables/additional/  does not show how to handle and get the row data that was checked. 


Jakub Mandra staff premium answered 6 years ago

These are layout examples.

You can attach value to checkbox and then do something in onChange method.

Check checkbox documentation


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 React
  • MDB Version: 4.7.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes