Getting data from checked row on DataTable

Topic: Getting data from checked row on DataTable

yujanrichie asked 3 years ago

I want to place checkboxes on a datatable. Your example in  does not show how to handle and get the row data that was checked. 

Jakub Mandra staff premium answered 3 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.


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