Configuring Data Import
Summary
- AdapTable provides 2 file handlers - CSV and JSON - for Data Import
- These can be supplemented or replaced by custom file handlers provided by developers
Custom File Handlers
AdapTable ships with 2 File Handlers for Data Import: CSV and JSON.
However developers can provide custom file handlers where required.
Note
These can either override an AdapTable-shipped file handler, or handle a different file type
This is done via the fileHandlers property in Data Import Options.
fileHandlers
Custom File Handlers to use for Data Import
Data Import - Custom CSV File Handler
- This example overrides the CSV file handler provided by AdapTable with a custom file handler, that parses CSV using a different (|) delimiter
- Download the updateframeworks-pipe.csv file, and then upload it in the Data Import wizard, and it will be parsed by the custom file handler
- We have added Flashing Cells to the grid (and increased duration to 3 seconds) so you can see the changes to the first 2 rows