Import
Data import for importing Excel, CSV files.
Example
Note: Import is only valid when defined in the JSON of the table page, and data cleaning is supported during data import.
{
"header": {
"preset": {
"import": {}
}
}
}
Props
interface Header {
preset: {
import?: {
api: {
setting: string
mapping: string
preview: string
import: string
mapping_setting_model: string
preview_setting_model: string
}
actions: Actions
}
}
}
Note: Imported Actions can only use `Common.historyPush`.
API
Properties | Description | Type | Default | Required | Version |
---|
api | interface | api | - | yes | |
api
Properties | Description | Type | Required |
---|
setting | setting interface | string | yes |
mapping | field mapping to get data interface | string | yes |
mapping_setting | field mapping setting interface | string | yes |
preview | data preview data interface | string | yes |
preview_setting | Data preview setting interface | string | yes |
import | import interface | string | yes |