Ui_control Set Height Issues

I have just started back with Node-Red after a long break. I am trying to create a ui-table with auto size. I would like it sized to the size of my array, and I cant work out how to make it happen using customHeight.

I assume its something simple I am missing, any suggestions please?

[
    {
        "id": "84817974d4d7e73c",
        "type": "ui_table",
        "z": "6c6ab8919eac0a16",
        "group": "8b3450e02a700db5",
        "name": "MyTable",
        "order": 3,
        "width": "0",
        "height": "0",
        "columns": [
            {
                "field": "time",
                "title": "Time",
                "width": "110",
                "align": "left",
                "formatter": "plaintext",
                "formatterParams": {
                    "target": "_blank"
                }
            }
        ],
        "outputs": 0,
        "cts": false,
        "x": 840,
        "y": 240,
        "wires": []
    },
    {
        "id": "e60a41556a5e39e0",
        "type": "function",
        "z": "6c6ab8919eac0a16",
        "name": "",
        "func": "msg.payload = [{time:\"abc\"}, {time:\"def\"}, {time:\"ghi\"}, {time:\"kjl\"},{time:\"lmn\"},{time:\"opq\"}];\n\n//msg.ui_control.customHeight=255;\n//msg.MyTable.customHeight=255;\nmsg.ui_table.customHeight=255;\n\n\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 680,
        "y": 240,
        "wires": [
            [
                "84817974d4d7e73c"
            ]
        ]
    },
    {
        "id": "462f0544523ac3ce",
        "type": "inject",
        "z": "6c6ab8919eac0a16",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": 0.1,
        "topic": "",
        "payloadType": "date",
        "x": 490,
        "y": 240,
        "wires": [
            [
                "e60a41556a5e39e0"
            ]
        ]
    },
    {
        "id": "8b3450e02a700db5",
        "type": "ui_group",
        "name": "The Plan",
        "tab": "2251edb4fa777071",
        "order": 2,
        "disp": true,
        "width": 14,
        "collapse": false,
        "className": ""
    },
    {
        "id": "2251edb4fa777071",
        "type": "ui_tab",
        "name": "Everything",
        "icon": "dashboard",
        "order": 1,
        "disabled": false,
        "hidden": true
    }
]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.