I'm using MaterialTable from material-ui the problem i'm having is In my mobile size, the data in my table tends to overflow. This is not an issue in the normal desktop mode. How do i fix this.
<MaterialTable
className={classes.table}
title="Editable Example"
columns={state.columns}
data={state.data}
options={{
padding: "dense",
tableLayout: "fixed",
actionsColumnIndex: -1,
exportButton: true,
}}
editable={{
onRowAdd: (newData) =>
new Promise((resolve) => {
setTimeout(() => {
resolve();
setState((prevState) => {
const data = [...prevState.data];
data.push(newData);
return { ...prevState, data };
});
}, 600);
}),
onRowUpdate: (newData, oldData) =>
new Promise((resolve) => {
setTimeout(() => {
resolve();
if (oldData) {
setState((prevState) => {
const data = [...prevState.data];
data[data.indexOf(oldData)] = newData;
return { ...prevState, data };
});
}
}, 600);
}),
onRowDelete: (oldData) =>
new Promise((resolve) => {
setTimeout(() => {
resolve();
setState((prevState) => {
const data = [...prevState.data];
data.splice(data.indexOf(oldData), 1);
return { ...prevState, data };
});
}, 600);
}),
}}
/>


overflow: none; text-overflow: ellipsis; white-space: nowrap. But I think your issue is also that you have 7 columns on a tiny mobile screen. Your design should accommodate mobile users in a usable way, just because the columns can squish down doesn't mean it's practical.