new CSVPreview(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
- control/CSVPreview.js
Extends
- olObject
Methods
-
getResult()
-
Get the current result
- Source:
- control/CSVPreview.js
Returns:
parsed data
- Type
- *
-
setCSV(csv)
-
Set current CSV data
Parameters:
Name Type Description csv
string - Source:
- control/CSVPreview.js
-
showData(papaOptions, papaOptions)
-
Show data according to papaparse options
Parameters:
Name Type Description papaOptions
Object papaOptions
Object | Array() - Source:
- control/CSVPreview.js
Returns:
parsed data
- Type
- *