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: add method to retrieve list of selected rows

Torroni pro asked 1 year ago


Expected behavior I think it would be useful to have a method that retrieves the list of selected rows from an mdb Datatable.

Actual behavior the list of selected rows is only available in the selectRows.mdb.datatable event details, but there are a lot of use cases in which the user selects some rows, then clicks a button to perform an action on the selected rows. Currently the only way to implement this very common use case is to create an event handler that updates a global variable, setting it to event.selectedRows every time the event is fired, and then access the global variable when it is time to act on the selected rows.

Resources (screenshots, code snippets etc.)


Kamila Pieńkowska staff answered 1 year ago


Thank you for the idea we will discuss this with our team.



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: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No