options

exportMenu#

  • Array of objects
  • Objects have the following shape:
{ label: string, exportFunc: (columns, data) => void }

In order to make things easier on you, we have provided the following default export utility funcitons.

// ...
import { ExportCsv, ExportPdf } from '@material-table/core/exporters';
<MaterialTable
// ...
options={{
// ...
exportMenu: [{
label: 'Export PDF',
exportFunc: (cols, datas) => ExportPdf(cols, datas, 'myPdfFileName')
}, {
label: 'Export CSV',
exportFunc: (cols, datas) => ExportCsv(cols, datas, 'myCsvFileName')
}]
}}
/>

exportButton#

This property has been deprecated

exportCsv#

This property has been deprecated

exportPdf#

This property has been deprecated

exportDelimiter#

This property has been deprecated