Change ID on pagination buttons in two_button setup
Change ID on pagination buttons in two_button setup
Shadoe
Posts: 2Questions: 0Answers: 0
Hi, I'm new to the forum, and DataTables. I'm building custom display templates for a Search Results Web Part for SharePoint 2013 that must utilize a standard external CSS sheet and it's naming conventions. The CSS uses an ID rather than a class for the previous and next button images for pagination, but I can't figure out how to change the IDs generated by DataTables to match those of the CSS. I've figured out how to change the class name, but not the ID - is there a way to do that without constructing an entire pagination plug-in? The two_button option works perfectly except for the fact I can't get it to pick up the right image out of the style library.
This discussion has been closed.
Replies
There is no external way of doing that currently. You'd need to modify DataTables.
Allan