Topic: Selecting rows by code in mdbDatatable2

js_talvaro free asked 2 years ago


Expected behavior: Dynamically select rows of a multiselectable mdbDatatable2 by code.

Actual behavior: No way to achieve this.

Any solution or workaround would be appreciated, thank you.


Mikołaj Smoleński staff commented 2 years ago

For MDB4 Datatable there is no such option. It can be achieved in the latest MDB5 Datatable component, because here each row has it's own data-mdb-index attribute:

https://mdbootstrap.com/docs/b5/vue/data/datatables/#section-selectable-rows

Keep coding,  Mikołaj from MDB



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB4 6.7.1
  • Device: Pc
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No