2 Replies Latest reply on Mar 28, 2011 5:21 AM by benma

    rich:datascroller page numbers style

    benma

      Hello.

      I have a rich:dataTable with rich:datascroller.

      I want to change the css of visited pages numbers in rich:datascroller regular page numbers visualization. e.g. there are pages: 1|2|3|4|5|6 and i visited pages 3 and 4. So numbers 3 and 4 should be colored in red.

      Thanks in advance!

        • 1. rich:datascroller page numbers style
          ilya_shaikovsky

          in RF 3.3 - those buttons getting rendered just as table cells with onclick.. So it will be really problematic.. (need to think about workaround with patching the component markup probably)

           

          And even in RF 4 where the semantcally correct <a> elements used I'm not sure will be really easy because those link works just using JS handlers bound to onclick event and not according to href..

          1 of 1 people found this helpful
          • 2. Re: rich:datascroller page numbers style
            benma

            OK, i used jQuery to find those <TD> and changed their css. Worked nicely.