/
expander-dynamic-data.jigx
42 lines (41 loc) · 1.37 KB
/
expander-dynamic-data.jigx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
title: Expander
type: jig.default
children:
- type: component.expander
options:
header:
centerElement:
type: component.titles
options:
title: =@ctx.datasources.expander-dynamic.firstname & ' ' & @ctx.datasources.expander-dynamic.lastname
subtitle: =@ctx.datasources.expander-dynamic.position
icon: person
align: left
children:
- type: component.entity
options:
children:
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Phone
value: =@ctx.datasources.expander-dynamic.phone
- type: component.entity-field
options:
label: Email
value: =@ctx.datasources.expander-dynamic.email
- type: component.entity-field
options:
label: Address
value: =@ctx.datasources.expander-dynamic.address
- type: component.bar-chart
options:
chart:
title:
text: Last year revenue
legend:
isHidden: true
series:
- data: =@ctx.datasources.series1-dynamic