Class

DataTables JS – How To Change Pagination Button Class

DataTables.js is a popular jQuery plugin for HTML table which lets you add pagination, instant search, and multi-column ordering. Recently we have been working on WordPress plugin which required usage of Datatables to adding the jazz to the table output. It helped us quickly add pagination, search & sorting functionality. We used it for one of our plugin “WordCamp Dashboard Widget“. Default UI provided by DataTables is good but we wanted it to be inline with WordPress. We tweaked few elements with CSS override. But pagination button would need classes to be modified in order to change the UI, so we went…