Skip to content

concat new data to $scope.data current top jumps down 7 rows after dataLoaded. #4047

Open
@joel1618

Description

@joel1618

$scope.gridApi.infiniteScroll.saveScrollPercentage();
$scope.gridOptions.data = $scope.gridOptions.data.concat(data);
$scope.gridApi.infiniteScroll.dataLoaded();

After this code is used the grid loads the new data and keeps the position for the most part but actually jumps the top row down about 7 rows. Is this a bug? Or am I doing something wrong? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions