Automatically hides unmapped columns after the mapping stage to provide a cleaner data review experience
keepRequiredFields
boolean
false
trackChanges
Required: The workbook being processed must have the trackChanges
setting enabled. The plugin checks for this setting and will abort its operation if it is not enabled. This prevents race conditions between different data processing hooks and the workbook update.foreground
job to update the sheet view. This means the user interface will be blocked with a progress indicator while columns are being hidden, preventing user interaction with a stale view of the data.
viewMappedPlugin(options?: ViewMappedOptions)
listener.use()
. The plugin listens for the completion of a workbook:map
job and then creates a new job to update the destination sheet’s configuration, hiding any unmapped columns.
Parameters:
options
(optional): Configuration object with keepRequiredFields
boolean property(listener: FlatfileListener) => void