Basic Grouping

Usage#

import MaterialTable from '@material-table/core';
<MaterialTable
// ... other props
options={{
grouping: true
}}
/>

Live Demo#

note

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

Live Editor
Result
Table Title
Drag headers here to group by
Id
Name
2Joe
1Mary