Mui table how to set horizontal scroll?
the table.js bodyTable: { height: this.props.fixedHeader || this.props.fixedFooter ? this.props.height : 'auto', overflowX: 'hidden', overflowY: 'auto' }, How can we change overflowX ?
May be It does support change the table overflowX.
now workaround way: componentDidMount() { $('.mui-body-table').css('overflow-x', 'auto'); }
It doesn't look like there's a way to override it in the code: https://github.com/callemall/material-ui/blob/master/src/table/table.jsx#L90
But I'll try your workaround. Thanks
I got it by passing to Table component via props:
bodyStyle: { overflowX: undefined, overflowY: undefined }
But it disable the fixedHeader :(