Basic Selection
Usage​
import MaterialTable from "@material-table/core";
<MaterialTable
// ...
options={{
selection: true,
}}
/>;
Live Demo​
note
See here for more on the GLOBAL_VARS we use in our demos
Live Editor
function SelectionBasic() { return ( <MaterialTable title={"Click a Row"} data={SELECTION_DATA} columns={SELECTION_COLS} options={{ selection: true, }} /> ); }
Result
Loading...