API

React export components
<SheetComponent 
  dataCfg={dataCfg} 
  options={options} 
  header={{ export: { open: true } }} 
/> 

ExportCfgProps

AttributesillustratetypeDefaultsrequired
openopen componentbooleanfalse✓
classNameclass namestring
icondisplay iconReactNode
copyOriginalTextCopy original data copystring
copyFormatTextcopy formatted data copystring
downloadOriginalTextDownload the original data copystring
downloadFormatTextDownload formatted data copystring
successTextSuccessful operation copystring
errorTextOperation failure copystring
fileNameCustomize the download file namestringsheet
asyncCopy data asynchronously (default is asynchronous)booleanfalse
drop downDropdown menu configuration, transparently passed to the Dropdown component of antdDropdownProps
original export method
Special Character Handling Rules
Vue export component