4

How can I remove the overlay loader completely from the table? (Table used: https://github.com/mbrn/material-table)

Yash Sangai
  • 43
  • 1
  • 3

3 Answers3

4

You can use OverlayLoading field to remove the overlay loader style of material-table.

<MaterialTable
  columns={columns}
  data={...}
  components={{
    OverlayLoading: props => (<div></div>)
  }}
/>
Akhilesh
  • 542
  • 4
  • 7
2

You can change loadingType to linear in options:

<MaterialTable
  columns={columns}
  data={...}
  options={{
    loadingType: 'linear'
  }}
/>
shobe
  • 391
  • 2
  • 7
0

You can override Overlay loading component like this,

<MaterialTable
  columns={columns}
  data={...}
  components={{
    OverlayLoading: () => <div />
  }}
/>
niks
  • 426
  • 4
  • 9