Styling Rows#

Props#

FieldTypeDescription
options.rowStylestyle object or funcstyle to apply in all rows cells

Usage#

import MaterialTable from "@material-table/core";
<MaterialTable
// ...
options={{
rowStyle: {
backgroundColor: "#6ABAC9",
},
}}
/>;

Live Demo#

note

See here for more on the GLOBAL_VARS we use in our demos

Live Editor
Result
Table Title
Name
Surname
Birth Year
Birth Place
MehmetBaran1987┼×anl─▒urfa
Zerya Bet├╝lBaran2017─░stanbul