Skip to content

Commit f16cdb0

Browse files
miderosemportuga
authored andcommitted
bugfix issue #6163
exporterAllDataFn results was ignored; now fixed.
1 parent adfc83c commit f16cdb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/features/exporter/js/exporter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,8 @@
666666
loadAllDataIfNeeded: function (grid, rowTypes, colTypes) {
667667
if ( rowTypes === uiGridExporterConstants.ALL && grid.rows.length !== grid.options.totalItems && grid.options.exporterAllDataFn) {
668668
return grid.options.exporterAllDataFn()
669-
.then(function() {
670-
grid.modifyRows(grid.options.data);
669+
.then(function(allData) {
670+
grid.modifyRows(allData);
671671
});
672672
} else {
673673
var deferred = $q.defer();

0 commit comments

Comments
 (0)