Topic: remove ripple on datatable pagination
1robin priority asked 1 year ago
Expected behavior Datatables pagination doesn´t show ripple on click
Actual behavior Datatables pagination shows ripple on click
How can I remove ripple on datatable pagination???
Kamila Pieńkowska staff answered 1 year ago
You can turn off the ripple effect on any element by setting attribute data-mdb-ripple-init
to false
.
Example code you can use:
const pagination = document.querySelectorAll('.datatable-pagination-button');
pagination.forEach((button) => {
button.setAttribute('data-mdb-ripple-init', 'false')
})
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 7.0.0
- Device: Laptop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No