API REFERENCE
csvImport
Provides a CSV import button and column mapping flow. Explain whether importing replaces existing columns and data.
What does this API do?
Provides a CSV import button and column mapping flow. Explain whether importing replaces existing columns and data.
Exact input and result types
csvImport: boolean| Item | Value |
|---|---|
| JavaScript name | csvImport |
| HTML attribute | csv-import |
| Default | false |
| Input type | boolean |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the csv-import attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Import CSV
CSV import converts delimited text into new columns and rows. Unlike a transaction that appends rows, importCsvText replaces columnDefs and rowData.