Skip to content

Commit

Permalink
bugfix issue #6163
Browse files Browse the repository at this point in the history
exporterAllDataFn results was ignored; now fixed.
  • Loading branch information
miderose authored and mportuga committed Nov 11, 2017
1 parent adfc83c commit f16cdb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/exporter/js/exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@
loadAllDataIfNeeded: function (grid, rowTypes, colTypes) {
if ( rowTypes === uiGridExporterConstants.ALL && grid.rows.length !== grid.options.totalItems && grid.options.exporterAllDataFn) {
return grid.options.exporterAllDataFn()
.then(function() {
grid.modifyRows(grid.options.data);
.then(function(allData) {
grid.modifyRows(allData);
});
} else {
var deferred = $q.defer();
Expand Down

0 comments on commit f16cdb0

Please sign in to comment.