-
Notifications
You must be signed in to change notification settings - Fork 50
Refresh grid after delete #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@AnishLushte07 you want to grid data reload after delete ? In my case i use following method, it's working successfully. you will try it... Thanks Add this code success function where you was assign JSON to grid. $scope.gridOptionsPaymentDetail.data = angular.fromJson(response.data); |
And also create $timeout object in top of [ ] angular js, before using it |
@Bilalriazwork Thanks for solution but in my case i'm calling default gridActions refresh method which internally calls reloadGrid. But the problem is that reload grid is not making call to fetch updated data. |
@AnishLushte07 Yes i was did gridActions refresh method. but it's not work. |
The reason that calls to refresh do not work is that the location of the page isn't changing (vs a filter or page number change), and the $locationChangeSuccess listener is what triggers the call to onChangeStateOrLocation, which in turn makes the call out to the server to happen. I wound up altering dataGrid.js to force a call to the onChangeStateOrLocation method. |
Hi, I'm using server pagination in grid .
after deleting one user i'm calling default refresh method but it is not fetching data from server.
and if i called refresh with 'isDefaultSort' - 'true' it throws error 'digest already in progress'
Please help, thanks in advance.
The text was updated successfully, but these errors were encountered: