I'm using ag-grid in an anugular1 project.
I'm trying to get the 'Next' button to select the next row in my grid.
$scope.NextButtonClick = function (){
console.log("next button clicked");
var selectedNodes = $scope.gridOptions.api.getSelectedNodes();
var indexCurrentSelection = selectedNodes[0].childIndex;
I was hoping for a function like
var nextNode = MagicalStoreOfallNodes.getNodeByIndex(indexCurrentSelection + 1);
nextNode.setSelected(true, true)
But I can't find anything in the documentation https://www.ag-grid.com/javascript-grid-model/
Any help most appreciated!
