You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,13 @@ Example `data`:
224
224
}
225
225
```
226
226
227
+
### onHeadersMapped (_function_)
228
+
Callback function that fires when headers have been mapped (when you dont want to wait for onComplete and you just want the mapped headers and the original uploaded file). It returns `selectedHeaderRow` which tells which row was selected as a header row in the previous step, `mappedHeaders` an object that contains the mapping definitions and `originalFile` which is the `File` object representing the original uploaded file without any modifications to it.
229
+
When `onHeadersMapped` is defined, `onComplete` callback will not be fired.
0 commit comments