This repository was archived by the owner on Jul 17, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1051,7 +1051,7 @@ class MUIDataTable extends React.Component {
1051
1051
1052
1052
return (
1053
1053
< Paper elevation = { 4 } ref = { this . tableContent } className = { classes . paper } >
1054
- { selectedRows . data . length ? (
1054
+ { selectedRows . data . length && ( this . options && ! this . options . radio ) ? (
1055
1055
< TableToolbarSelect
1056
1056
options = { this . options }
1057
1057
selectedRows = { selectedRows }
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import React from 'react';
2
2
import PropTypes from 'prop-types' ;
3
3
import classNames from 'classnames' ;
4
4
import Checkbox from '@material-ui/core/Checkbox' ;
5
+ import Radio from '@material-ui/core/Radio' ;
5
6
import TableCell from '@material-ui/core/TableCell' ;
6
7
import { withStyles } from '@material-ui/core/styles' ;
7
8
import KeyboardArrowRight from '@material-ui/icons/KeyboardArrowRight' ;
@@ -16,12 +17,10 @@ const defaultSelectCellStyles = theme => ({
16
17
width : '56px' ,
17
18
maxWidth : '56px' ,
18
19
backgroundColor : '#F4F7FA' ,
19
- position : 'sticky' ,
20
20
top : 0 ,
21
21
zIndex : 2 ,
22
22
} ,
23
23
fixedHeader : {
24
- position : 'sticky' ,
25
24
top : '0px' ,
26
25
left : '0px' ,
27
26
zIndex : 3 ,
You can’t perform that action at this time.
0 commit comments