ui-grid
ui-grid copied to clipboard
Add item and scroll to it immediatly
I encounter a problem of scrolling...
I have a button that triggers an "addItem" function, performing a splice(0,0,item) onto my data array...
I've tried $scope.gridApi.core.scrollTo $scope.gridApi.cellNav.scrollToFocus $(".ui-grid-viewport").scrollTop
no way... it deos not work. It does not scroll at all. However, I had noticed that when I specified an other current data index, that had worked...
Isn't there any event to trigger so that the grid can update the row positions?
gitter or stack overflow please : https://github.com/angular-ui/ui-grid/blob/master/CONTRIBUTING.md