1 Reply Latest reply on Jan 17, 2010 6:34 AM by nbelaevski

    question about using Jquery  plugin

    lmk

       

      Hi,

       

      I have a data table with a lot of columns, and I'd like to use an outputLink to scroll over dataTable columns. I found the jquery plugin scrollTo

       

      I tried this code:

       

       

      <rich:jQuery selector="#link"
                                  query="click(function(){jQuery('#scroller').scrollTo('+=100px',800)}))" />
      
      <a id="link" >goooo</a>
      
      <div id="scroller" style="overflow: auto;">
      <rich:dataTable ..... />
      
      

       

       

      it does not work.

      can you  please advise ..

       

      thanks.