angular-ui/ui-grid
Auf GitHub ansehenscroll to focus is not working on newly added row
Open
#5.325 geöffnet am 15. Apr. 2016
good first issue
Repository-Metriken
- Stars
- (5.395 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
after adding a new row, I am trying to set focus to the first row and the first column, but it doesn't work.
$scope.gridApi.cellNav.scrollToFocus( $scope.gridOptions.data[0], $scope.gridOptions.columnDefs[0]);
here is a plunker for the same http://plnkr.co/edit/6zyZ5q?p=preview