diff --git a/docs/docs.html b/docs/docs.html
index 691ee64..43645f3 100644
--- a/docs/docs.html
+++ b/docs/docs.html
@@ -510,12 +510,16 @@ var csv = Papa.unparse({
transformHeader
- A function to apply on each header. Requires header to be true . The function receives the header as its first argument and the index (the column number) as second. When used in conjunction with config.headerLines, the function receives a third and fourth parameter which are:
+ A function to apply on each header. Requires header to be true . The arguments are:
+ - header: the current header text, as parsed from the appropriate cell in the specified header row
+ - index: the column number of the header text (0 for first column)
- arr: the string array of data for that row
- acc: the existing header for that column based on previous lines iteration ('' if no previous lines)
- j: the rowNumber (0 for the first line)
+ Only available starting with version 5.0.
+ The latter three parameters (arr, acc, j) are only available when used in conjunction with config.headerLines and from version 5.4+.
|
@@ -524,6 +528,7 @@ var csv = Papa.unparse({
The number of rows which will be used to transform into a header, and removed from the rest of the data. Requires header to be true. Default 1.
+ Only available starting with veresion 5.4.
|