Hello,
I have the following flow:
[
{
"id": "ef64e5df.b58d9",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": ""
},
{
"id": "2ada6432.b9daa4",
"type": "ui_table",
"z": "ef64e5df.b58d9",
"group": "a158aa65.c97cd",
"name": "Inventario",
"order": 2,
"width": "14",
"height": "6",
"columns": [],
"outputs": 0,
"cts": false,
"x": 400,
"y": 220,
"wires": []
},
{
"id": "c04fc8c7.592238",
"type": "inject",
"z": "ef64e5df.b58d9",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "ui_control.tabulator",
"v": "{\t \"dataTree\": true,\t \"dataTreeStartExpanded\": true\t}",
"vt": "jsonata"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[\t {\t \"nombre\": \"acceso\",\t \"rd\": \"361\",\t \"RTs a importar\":\"\",\t \"Nombre RT\":\"\",\t \"_children\":\t [\t {\"RTs a importar\":\"target:1234:321\", \"Nombre RT\":\"primero\"},\t {\"RTs a importar\": \"target:1234:432\"}\t ]\t },\t {\t \"nombre-vrf\": \"gestion\",\t \"rd\": \"1234:100\",\t \"RTs a importar\":\"\",\t \"_children\":\t [\t {\"RTs a importar\":\"target:1234:66\"}\t ]\t }\t]",
"payloadType": "jsonata",
"x": 80,
"y": 240,
"wires": [
[
"2ada6432.b9daa4",
"fe8b7855.27332"
]
]
},
{
"id": "fe8b7855.27332",
"type": "debug",
"z": "ef64e5df.b58d9",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 330,
"y": 140,
"wires": []
},
{
"id": "da3f9327.24123",
"type": "inject",
"z": "ef64e5df.b58d9",
"name": "",
"props": [
{
"p": "ui_control.tabulator",
"v": "{\"columns\":[{\"field\":\"rd\",\"visible\":false}]}",
"vt": "json"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 110,
"y": 380,
"wires": [
[
"e7ae9fe6.8d7b2",
"2ada6432.b9daa4"
]
]
},
{
"id": "e7ae9fe6.8d7b2",
"type": "debug",
"z": "ef64e5df.b58d9",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 530,
"y": 440,
"wires": []
},
{
"id": "a158aa65.c97cd",
"type": "ui_group",
"name": "Tabla",
"tab": "3dd69d8b.6e4f72",
"order": 3,
"disp": true,
"width": "14",
"collapse": false
},
{
"id": "3dd69d8b.6e4f72",
"type": "ui_tab",
"name": "Tab 1",
"icon": "dashboard",
"order": 1
}
]
Injecting the first message to the table node, creates a table which displays all the columns I need, plus a column which header is "_children". I do not want to have this column shown, so I have tried several methods to hide it, one of which is injecting another message which tries to change the visibility option of that column to false. This did not work, so I tried hiding another column (rd), suspecting that maybe the _children column is an special one. This did not work either, the rd column is not been hidden. Now I have run out of ideas.
Any help would be appreciated.
Thanks