Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the overlay loader from material table?

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

like image 911
Yash Sangai Avatar asked Oct 30 '25 16:10

Yash Sangai


2 Answers

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

<MaterialTable
  columns={columns}
  data={...}
  components={{
    OverlayLoading: props => (<div></div>)
  }}
/>
like image 74
Akhilesh Avatar answered Nov 02 '25 08:11

Akhilesh


You can change loadingType to linear in options:

<MaterialTable
  columns={columns}
  data={...}
  options={{
    loadingType: 'linear'
  }}
/>
like image 37
shobe Avatar answered Nov 02 '25 08:11

shobe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!