Skip to content

Refresh isn't working with data provided by service unless it's explicitely copied #65

@Hi-Fi

Description

@Hi-Fi

Example (non-functional) at: http://plnkr.co/edit/5171yuyhlQ7eHEjOSitu

If I click "Refresh list", list just stucks at "Loading..." phase, even getData() gets executed.

Workaround is to copy "data" ($scope.grid.data =data; -> $scope.grid.data = angular.copy(data);), but that seems a bit stupid way especially if there's bigger data lists used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions