How to get a node by index in ag-grid?
<p>AgGrid expects node(s) to be passed in to lot of it's data functions. How do you get a node by index? Look at the snip below:</p>

<pre><code>api.forEachNode(function(node){
   api.refreshRows([node]);
})
</code></pre>

<p>I can pass the <code>node</code> parameter to <code>refreshRows()</code> function since I'm getting it through <code>forEachNode()</code>. </p>

<p>How do you get a node by index without iterating through <code>forEachNode()</code> ?</p>