Commit dc006cbf authored by Rifka Kurnia Irfiana's avatar Rifka Kurnia Irfiana

push option tax planning

parent feb268d8
...@@ -8,7 +8,44 @@ import ReactTooltip from 'react-tooltip'; ...@@ -8,7 +8,44 @@ import ReactTooltip from 'react-tooltip';
var ct = require("../../library/CustomTable"); var ct = require("../../library/CustomTable");
const getMuiTheme = () => createMuiTheme(ct.customTable()); const getMuiTheme = () => createMuiTheme(ct.customTable());
const options = ct.customOptionsFixedColumn(); // const options = ct.customOptionsFixedColumn();
const options = {
name: "CobaCoba",
filter: false,
customHeadRender: (columnMeta) => (
<th key={3} style={{ cursor: 'pointer', backgroundColor: '#F6F6F6', color: '#555555', fontSize: 13, fontWeight: 1 }}>
<div style={{ borderBottom: "1px rgba(0,0,0,0.1) solid" }}>{columnMeta.name}</div>
<div className="grid grid-4x" style={{ backgroundColor: '#F6F6F6', color: '#555555', fontSize: 13, fontWeight: 1 }}>
<div className="col-1">
{"Number"}
</div>
<div className="col-2">
{"Grade"}
</div>
<div className="col-3">
{"Performance"}
</div>
</div>
</th>
),
customBodyRender: (val) => {
return (
<div>
<div className="grid grid-4x content-center">
<div className="col-1">
{val}
</div>
<div className="col-2">
{val}
</div>
<div className="col-3">
{val}
</div>
</div>
</div>
);
}
}
const style = { const style = {
position: "sticky", position: "sticky",
left: 0, left: 0,
......
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