Commit 0562fecb authored by Faisal Hamdi's avatar Faisal Hamdi

Merge branch 'faisal' into 'master'

faisal!

See merge request !1513
parents 27eb83db c4d83f7b
...@@ -25,8 +25,8 @@ export default class TableProgressReport extends Component { ...@@ -25,8 +25,8 @@ export default class TableProgressReport extends Component {
render() { render() {
let dataTable2 = this.props.dataTable2 let dataTable2 = this.props.dataTable
console.log(this.props); // console.log(this.props);
const columnMB = [ const columnMB = [
{ {
...@@ -58,7 +58,7 @@ export default class TableProgressReport extends Component { ...@@ -58,7 +58,7 @@ export default class TableProgressReport extends Component {
name: "Revision", name: "Revision",
options: { options: {
customHeadRender: (columnMeta) => ( customHeadRender: (columnMeta) => (
<TableCell style={{ ...style2, top: 0, zIndex: 99, backgroundColor: '#1c71b8', borderRight: '1px solid #fff', borderLeft: '1px solid #fff' }}> <TableCell style={{ ...style2, top: 0, zIndex: 99, backgroundColor: '#1c71b8', borderRight: '1px solid #fff', borderLeft: '1px solid #fff', width: 100 }}>
<Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography> <Typography style={{ color: 'white', fontSize: 12, fontWeight: 'bold', textAlign: 'center' }}>{columnMeta.name}</Typography>
</TableCell> </TableCell>
), ),
...@@ -84,7 +84,7 @@ export default class TableProgressReport extends Component { ...@@ -84,7 +84,7 @@ export default class TableProgressReport extends Component {
setCellProps: () => ({ style2 }), setCellProps: () => ({ style2 }),
customBodyRender: (value, tableMeta, updateValue) => { customBodyRender: (value, tableMeta, updateValue) => {
return ( return (
<div style={{ width: 90, textAlign: 'center' }}> <div style={{ width: 300, textAlign: 'center' }}>
{ {
value value
} }
...@@ -102,7 +102,7 @@ export default class TableProgressReport extends Component { ...@@ -102,7 +102,7 @@ export default class TableProgressReport extends Component {
), ),
customBodyRender: (val, tableMeta) => { customBodyRender: (val, tableMeta) => {
return ( return (
<div style={{ textAlign: 'center', width: 60 }}> <div style={{ textAlign: 'center', width: 100 }}>
{ {
val val
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment