Official plug-in produces incorrect code

Official plug-in produces incorrect code

RyanWilliamsRyanWilliams Posts: 1Questions: 0Answers: 0
edited August 2013 in General
Hi guys,

I just tried to use the 'Navigation with text input' pagination plug-in which allows users to type a page number in rather than clicking on page numbers — useful when we have, say, six million rows like I'm dealing with right now.

Unfortunately the plug-in seems to produce incorrect code for the new UI elements. The buttons for first/last/next/prev etc are all unstyled, partly due to using SPANs instead of As (like in an old DataTables version I believe) and partly because of various classes not being used.

I can resolve this myself and will probably have to build a custom pagination widget anyway as we need both clickable page numbers and jumping. Just reporting it for the greater good.

Plug-in was found here:

https://datatables.net/plug-ins/pagination

Replies

  • allanallan Posts: 63,510Questions: 1Answers: 10,471 Site admin
    Oops thanks for pointing that out. I'll fix it shortly.

    All of the paging plug-ins will get a bit of an update for v1.10 soon anyway (although it is backwards compatible).

    Allan
This discussion has been closed.