ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Add item and scroll to it immediatly

Open Soul1399 opened this issue 10 years ago • 1 comments

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?

Soul1399 avatar Feb 01 '16 15:02 Soul1399

gitter or stack overflow please : https://github.com/angular-ui/ui-grid/blob/master/CONTRIBUTING.md

swalters avatar Feb 01 '16 16:02 swalters