Skip to content

Commit 1fb72bc

Browse files
authored
Merge pull request #138 from yajra/fastExcel-datasrc
FastExcel Integration: Use data as source.
2 parents 022ea84 + 1276768 commit 1fb72bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/DataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public function fastExcelCallback()
694694
$mapped = [];
695695
foreach ($this->exportColumns() as $column) {
696696
if ($column['exportable']) {
697-
$mapped[$column['title']] = $row[$column['name']];
697+
$mapped[$column['title']] = $row[$column['data']];
698698
}
699699
}
700700

0 commit comments

Comments
 (0)