title: How to scroll to specific element in jQuery DataTable programatically?
body: <p>I have a paginated jQuery DataTable that I would like to scroll to a specific row. This row may be on another page. I am currently trying the following:</p>
  
  <pre><code>var scroller = profileTable.fnSettings().nTable.parentNode;                                              
  scroller.scrollTo( $('.row_selected'), 1 );
  </code></pre>
  
  <p>where <code>profileTable</code> is a DataTable.</p>
  
  <p>The row I would like to scroll to has a <code>&lt;tr class="row_selected"&gt;</code>.</p>
  
  <p>The Javascript error I am seeing in Chrome's Developer Tools is:</p>
  
  <pre><code>Uncaught TypeError: Object #&lt;HTMLDivElement&gt; has no method 'scrollTo'
  </code></pre>
  
  <p>I also tried</p>
  
  <pre><code>var scroller = profileTable.fnSettings().nTable.parentNode;                                              
  $(scroller).scrollTo( $('.row_selected'), 1 );
  </code></pre>
  
  <p>with error:</p>
  
  <pre><code>Uncaught TypeError: Object [object Object]&gt; has no method 'scrollTo'
  </code></pre>
  
  <p>I've tried the <a href="http://archive.plugins.jquery.com/project/ScrollTo" rel="nofollow" title="ScrollTo Plugin">ScrollTo Plugin</a>
  with no luck. Anybody using this plugin with jQuery 1.7.2 or higher?</p>
  
  <p>Any examples of moving to a specified row in a DataTable would be appreciated.</p>