First Page not Highlighted
First Page not Highlighted
I've run across what appears to be a bug, maybe someone can help confirm or offer a solution. When a DataTable is loaded that has multiple pages, the first page is selected by default. However, the page number "1" in the page navigation menu is not highlighted by default. If you click a different page and then click the 1st page again, it's highlighted appropriately. It seems that the "current" class is not being added to the 1st page button when the table is first loaded.
This question has an accepted answers - jump to answer
Answers
It appears to work well here. Can you link to a page showing the issue please.
Allan
It was an issue with another library I was using, removing the CSS class that highlighted the button.