Change ID on pagination buttons in two_button setup

Change ID on pagination buttons in two_button setup

ShadoeShadoe Posts: 2Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
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.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    > I can't figure out how to change the IDs generated by DataTables to match those of the CSS

    There is no external way of doing that currently. You'd need to modify DataTables.

    Allan
  • ShadoeShadoe Posts: 2Questions: 0Answers: 0
    Thanks, Allan - I've read a LOT of the forums and most of the documentation, and was afraid I'd missed something simple somewhere. I appreciate the response!
This discussion has been closed.