Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Pager with Application Styling
posted

I have a pager with pattern="[page:first:First] [prev] [default] [next] [page:last:Last]".

The problem I am having is that with Application styling applied the [page:first:First] and [page:last:Last]

use the CSS style for PageCurrent and not just the style for PageLink as with the [prev] and [next] links.

Is there a way to change the AppStyling for the first and last links?

  • 105
    Verified Answer
    posted

    Was able to workaround by setting the Pattern in code based on the current pager page.

    if first 

    "First [prev] [default] [next] [page:last:Last]"

    else if last

    "[page:first:First] [prev] [default] [next] Last"

    else

    "[page:first:First] [prev] [default] [next] [page:last:Last]".