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:
api.forEachNode(function(node){
api.refreshRows([node]);
})
I can pass the node
parameter to refreshRows()
function since I'm getting it through forEachNode()
.
How do you get a node by index without iterating through forEachNode()
?