Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
0bbfcc0b
Commit
0bbfcc0b
authored
Oct 27, 2020
by
EKSAD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
e3a4a5ed
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
44 deletions
+57
-44
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+41
-41
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+16
-3
No files found.
src/container/BudgetTahunan/ProfitLoss.js
View file @
0bbfcc0b
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ProfitLossMR.js
View file @
0bbfcc0b
...
@@ -31,6 +31,12 @@ const style2 = {
...
@@ -31,6 +31,12 @@ const style2 = {
zIndex
:
100
,
zIndex
:
100
,
top
:
0
top
:
0
};
};
const
stylenotes
=
{
position
:
"sticky"
,
background
:
"white"
,
zIndex
:
101
,
left
:
350
};
export
default
class
ProfitLossMR
extends
Component
{
export
default
class
ProfitLossMR
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -60,14 +66,21 @@ export default class ProfitLossMR extends Component {
...
@@ -60,14 +66,21 @@ export default class ProfitLossMR extends Component {
}
}
},
},
{
{
name
:
"
Keterangan
"
,
name
:
"
Notes
"
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
key
=
{
columnMeta
.
index
}
style
=
{{
...
style
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderLeft
:
'1px #fff solid'
}}
>
<
TableCell
key
=
{
columnMeta
.
index
}
style
=
{{
...
style
notes
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderLeft
:
'1px #fff solid'
}}
>
<
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
>
),
),
setCellProps
:
()
=>
({
style2
}),
setCellProps
:
()
=>
({
style
:
{
position
:
"sticky"
,
background
:
"white"
,
zIndex
:
101
,
left
:
350
}
}),
customBodyRender
:
(
val
,
tableMeta
)
=>
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
return
(
return
(
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment