Action buttons must allow click event even when switching datatables records page.
When datatable loads first time, all action buttons work fine, but as soon I access page 2 or 3 then no more action button works.
Resources (screenshots, code snippets etc.)
This is because action buttons from the next pages are not presented to DOM at the time you invoke your
setActions function, and that's why only buttons from the first page have event listeners added. You should clear your listeners and invoke your
setActions function every time the page is changed. You can achieve that by adding a proper event listener to change page buttons.
Keep coding, Marcin
This issue is now fixed in version 1.
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Pro
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 1.0.0-beta6
- Device: Desktop
- Browser: Chrome 91
- OS: Windows
- Provided sample code: No
- Provided link: Yes