130 lines
3.1 KiB
Plaintext
130 lines
3.1 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"titleExtra": "625 rows",
|
|
"usesTimewidget": false
|
|
},
|
|
"propConfig": {
|
|
"params.titleExtra": {
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
},
|
|
"params.usesTimewidget": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "false"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 324,
|
|
"width": 1600
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Ethernet"
|
|
},
|
|
"position": {
|
|
"height": "100%",
|
|
"width": "100%"
|
|
},
|
|
"propConfig": {
|
|
"props.columns": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[default]Gateway/Ethernet"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "jsonGet({value}, \"columns\")",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.data": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "direct",
|
|
"tagPath": "[default]Gateway/Ethernet"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tcou \u003d utils.getRowCount(value.data)\n\tself.view.params.titleExtra \u003d \"{:n} rows\".format(cou)\n\t# Return data\n\treturn value.data",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"cells": {
|
|
"style": {
|
|
"borderBottomColor": "#D5D5D5",
|
|
"borderBottomStyle": "solid",
|
|
"borderBottomWidth": "2px",
|
|
"borderRightColor": "#D5D5D5",
|
|
"borderRightStyle": "solid",
|
|
"borderRightWidth": "2px",
|
|
"color": "#000",
|
|
"fontFamily": "Helvetica",
|
|
"fontSize": "14px"
|
|
}
|
|
},
|
|
"filter": {
|
|
"enabled": true
|
|
},
|
|
"pager": {
|
|
"bottom": false
|
|
},
|
|
"rows": {
|
|
"highlight": {
|
|
"enabled": false
|
|
},
|
|
"striped": {
|
|
"enabled": false
|
|
},
|
|
"style": {
|
|
"classes": "table/highlight"
|
|
}
|
|
},
|
|
"style": {
|
|
"fontFamily": "Helvetica",
|
|
"fontSize": "14px",
|
|
"fontWeight": "bold"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [],
|
|
"messageHandlers": [
|
|
{
|
|
"messageType": "export-data",
|
|
"pageScope": true,
|
|
"script": "\tutils.downloadCSV(self, \"Ethernet\")",
|
|
"sessionScope": false,
|
|
"viewScope": false
|
|
}
|
|
]
|
|
},
|
|
"type": "ia.display.table"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |