Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 转置表格列宽不生效. #1465

Closed
youngwinds opened this issue Apr 9, 2024 · 0 comments · Fixed by #1481
Closed

[Bug] 转置表格列宽不生效. #1465

youngwinds opened this issue Apr 9, 2024 · 0 comments · Fixed by #1481
Assignees
Labels
bp bp bug Something isn't working

Comments

@youngwinds
Copy link




const option = {
    "columns": [
        {
            "firstRow": 2147538.9250000003,
            "field": "240319212657133",
            "title": "正常值",
            "showSort": false,
            "style": {
                "textAlign": "right",
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineRowBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineColumnBgColor": "rgba(186, 215, 255, 0.2)"
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontWeight": "normal",
                "fontVariant": "normal",
                "color": "#141414",
                "lineHeight": 18,
                "underline": false
            },
            "headerStyle": {
                "textAlign": "right",
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(0, 100, 250, 0.16)",
                    "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                    "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
                },
                "frameStyle": {
                    "borderColor": [
                        null,
                        "#E1E4E8",
                        null,
                        null
                    ],
                    "borderLineWidth": 2
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontVariant": "normal",
                "fontStyle": "normal",
                "fontWeight": "bold",
                "color": "#1B1F23",
                "bgColor": "#EEF1F5",
                "lineHeight": 18,
                "underline": false
            },
            "dropDownMenu": [
                {
                    "text": "降序排序",
                    "menuKey": "sort_desc",
                    "icon": {
                        "svg": "<svg width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M4.03333 13.5667L3.60907 13.9909C3.84339 14.2252 4.22328 14.2252 4.4576 13.9909L4.03333 13.5667ZM7.0576 11.3909C7.29191 11.1566 7.29191 10.7767 7.0576 10.5424C6.82328 10.3081 6.44339 10.3081 6.20907 10.5424L7.0576 11.3909ZM1.8576 10.5424C1.62328 10.3081 1.24338 10.3081 1.00907 10.5424C0.774756 10.7767 0.774756 11.1566 1.00907 11.3909L1.8576 10.5424ZM4.63333 1C4.63333 0.668629 4.36471 0.4 4.03333 0.4C3.70196 0.4 3.43333 0.668629 3.43333 1H4.63333ZM8.8 3.43333C8.46863 3.43333 8.2 3.70196 8.2 4.03333C8.2 4.3647 8.46863 4.63333 8.8 4.63333V3.43333ZM14 4.63333C14.3314 4.63333 14.6 4.3647 14.6 4.03333C14.6 3.70196 14.3314 3.43333 14 3.43333V4.63333ZM8.8 6.9C8.46863 6.9 8.2 7.16863 8.2 7.5C8.2 7.83137 8.46863 8.1 8.8 8.1V6.9ZM12.2667 8.1C12.598 8.1 12.8667 7.83137 12.8667 7.5C12.8667 7.16863 12.598 6.9 12.2667 6.9V8.1ZM8.8 10.3667C8.46863 10.3667 8.2 10.6353 8.2 10.9667C8.2 11.298 8.46863 11.5667 8.8 11.5667V10.3667ZM10.5333 11.5667C10.8647 11.5667 11.1333 11.298 11.1333 10.9667C11.1333 10.6353 10.8647 10.3667 10.5333 10.3667V11.5667ZM4.4576 13.9909L7.0576 11.3909L6.20907 10.5424L3.60907 13.1424L4.4576 13.9909ZM4.4576 13.1424L1.8576 10.5424L1.00907 11.3909L3.60907 13.9909L4.4576 13.1424ZM3.43333 1V13.5667H4.63333V1H3.43333ZM8.8 4.63333H14V3.43333H8.8V4.63333ZM8.8 8.1H12.2667V6.9H8.8V8.1ZM8.8 11.5667H10.5333V10.3667H8.8V11.5667Z\" fill=\"currentColor\"/>\n  </svg>"
                    },
                    "selectedIcon": {
                        "svg": "<svg width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M4.03333 13.5667L3.60907 13.9909C3.84339 14.2252 4.22328 14.2252 4.4576 13.9909L4.03333 13.5667ZM7.0576 11.3909C7.29191 11.1566 7.29191 10.7767 7.0576 10.5424C6.82328 10.3081 6.44339 10.3081 6.20907 10.5424L7.0576 11.3909ZM1.8576 10.5424C1.62328 10.3081 1.24338 10.3081 1.00907 10.5424C0.774756 10.7767 0.774756 11.1566 1.00907 11.3909L1.8576 10.5424ZM4.63333 1C4.63333 0.668629 4.36471 0.4 4.03333 0.4C3.70196 0.4 3.43333 0.668629 3.43333 1H4.63333ZM8.8 3.43333C8.46863 3.43333 8.2 3.70196 8.2 4.03333C8.2 4.3647 8.46863 4.63333 8.8 4.63333V3.43333ZM14 4.63333C14.3314 4.63333 14.6 4.3647 14.6 4.03333C14.6 3.70196 14.3314 3.43333 14 3.43333V4.63333ZM8.8 6.9C8.46863 6.9 8.2 7.16863 8.2 7.5C8.2 7.83137 8.46863 8.1 8.8 8.1V6.9ZM12.2667 8.1C12.598 8.1 12.8667 7.83137 12.8667 7.5C12.8667 7.16863 12.598 6.9 12.2667 6.9V8.1ZM8.8 10.3667C8.46863 10.3667 8.2 10.6353 8.2 10.9667C8.2 11.298 8.46863 11.5667 8.8 11.5667V10.3667ZM10.5333 11.5667C10.8647 11.5667 11.1333 11.298 11.1333 10.9667C11.1333 10.6353 10.8647 10.3667 10.5333 10.3667V11.5667ZM4.4576 13.9909L7.0576 11.3909L6.20907 10.5424L3.60907 13.1424L4.4576 13.9909ZM4.4576 13.1424L1.8576 10.5424L1.00907 11.3909L3.60907 13.9909L4.4576 13.1424ZM3.43333 1V13.5667H4.63333V1H3.43333ZM8.8 4.63333H14V3.43333H8.8V4.63333ZM8.8 8.1H12.2667V6.9H8.8V8.1ZM8.8 11.5667H10.5333V10.3667H8.8V11.5667Z\" fill=\"currentColor\"/>\n  </svg>"
                    },
                    "stateIcon": {
                        "svg": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 20 20\" fill=\"#1B1F23\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M10 16L9.6084 16.4546C9.83347 16.6485 10.1665 16.6485 10.3916 16.4546L10 16ZM13.3916 13.8702C13.6427 13.654 13.6709 13.2751 13.4546 13.0241C13.2383 12.773 12.8595 12.7448 12.6084 12.9611L13.3916 13.8702ZM7.3916 12.9611C7.14054 12.7448 6.76169 12.773 6.54541 13.0241C6.32914 13.2751 6.35734 13.654 6.6084 13.8702L7.3916 12.9611ZM10.6 5C10.6 4.66863 10.3314 4.4 10 4.4C9.66863 4.4 9.4 4.66863 9.4 5H10.6ZM10.3916 16.4546L13.3916 13.8702L12.6084 12.9611L9.6084 15.5454L10.3916 16.4546ZM10.3916 15.5454L7.3916 12.9611L6.6084 13.8702L9.6084 16.4546L10.3916 15.5454ZM9.4 5V16H10.6V5H9.4Z\" fill=\"#1B1F23\"/>\n  </svg>",
                        "width": 18,
                        "height": 18
                    }
                },
                {
                    "text": "升序排序",
                    "menuKey": "sort_asc",
                    "icon": {
                        "svg": "<svg width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M4.03332 1.43335L4.45758 1.00909C4.22327 0.774771 3.84337 0.774771 3.60906 1.00909L4.03332 1.43335ZM1.00906 3.60909C0.77474 3.8434 0.77474 4.2233 1.00906 4.45761C1.24337 4.69193 1.62327 4.69193 1.85758 4.45761L1.00906 3.60909ZM6.20905 4.45761C6.44337 4.69193 6.82327 4.69193 7.05758 4.45761C7.2919 4.2233 7.2919 3.8434 7.05758 3.60909L6.20905 4.45761ZM3.43332 14C3.43332 14.3314 3.70195 14.6 4.03332 14.6C4.36469 14.6 4.63332 14.3314 4.63332 14H3.43332ZM8.79999 3.43335C8.46862 3.43335 8.19999 3.70198 8.19999 4.03335C8.19999 4.36472 8.46862 4.63335 8.79999 4.63335V3.43335ZM14 4.63335C14.3314 4.63335 14.6 4.36472 14.6 4.03335C14.6 3.70198 14.3314 3.43335 14 3.43335V4.63335ZM8.79999 6.90002C8.46862 6.90002 8.19999 7.16865 8.19999 7.50002C8.19999 7.83139 8.46862 8.10002 8.79999 8.10002V6.90002ZM12.2667 8.10002C12.598 8.10002 12.8667 7.83139 12.8667 7.50002C12.8667 7.16865 12.598 6.90002 12.2667 6.90002V8.10002ZM8.79999 10.3667C8.46862 10.3667 8.19999 10.6353 8.19999 10.9667C8.19999 11.2981 8.46862 11.5667 8.79999 11.5667V10.3667ZM10.5333 11.5667C10.8647 11.5667 11.1333 11.2981 11.1333 10.9667C11.1333 10.6353 10.8647 10.3667 10.5333 10.3667V11.5667ZM3.60906 1.00909L1.00906 3.60909L1.85758 4.45761L4.45758 1.85761L3.60906 1.00909ZM3.60906 1.85761L6.20905 4.45761L7.05758 3.60909L4.45758 1.00909L3.60906 1.85761ZM3.43332 1.43335V14H4.63332V1.43335H3.43332ZM8.79999 4.63335H14V3.43335H8.79999V4.63335ZM8.79999 8.10002H12.2667V6.90002H8.79999V8.10002ZM8.79999 11.5667H10.5333V10.3667H8.79999V11.5667Z\" fill=\"currentColor\"/>\n  </svg>"
                    },
                    "selectedIcon": {
                        "svg": "<svg width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M4.03332 1.43335L4.45758 1.00909C4.22327 0.774771 3.84337 0.774771 3.60906 1.00909L4.03332 1.43335ZM1.00906 3.60909C0.77474 3.8434 0.77474 4.2233 1.00906 4.45761C1.24337 4.69193 1.62327 4.69193 1.85758 4.45761L1.00906 3.60909ZM6.20905 4.45761C6.44337 4.69193 6.82327 4.69193 7.05758 4.45761C7.2919 4.2233 7.2919 3.8434 7.05758 3.60909L6.20905 4.45761ZM3.43332 14C3.43332 14.3314 3.70195 14.6 4.03332 14.6C4.36469 14.6 4.63332 14.3314 4.63332 14H3.43332ZM8.79999 3.43335C8.46862 3.43335 8.19999 3.70198 8.19999 4.03335C8.19999 4.36472 8.46862 4.63335 8.79999 4.63335V3.43335ZM14 4.63335C14.3314 4.63335 14.6 4.36472 14.6 4.03335C14.6 3.70198 14.3314 3.43335 14 3.43335V4.63335ZM8.79999 6.90002C8.46862 6.90002 8.19999 7.16865 8.19999 7.50002C8.19999 7.83139 8.46862 8.10002 8.79999 8.10002V6.90002ZM12.2667 8.10002C12.598 8.10002 12.8667 7.83139 12.8667 7.50002C12.8667 7.16865 12.598 6.90002 12.2667 6.90002V8.10002ZM8.79999 10.3667C8.46862 10.3667 8.19999 10.6353 8.19999 10.9667C8.19999 11.2981 8.46862 11.5667 8.79999 11.5667V10.3667ZM10.5333 11.5667C10.8647 11.5667 11.1333 11.2981 11.1333 10.9667C11.1333 10.6353 10.8647 10.3667 10.5333 10.3667V11.5667ZM3.60906 1.00909L1.00906 3.60909L1.85758 4.45761L4.45758 1.85761L3.60906 1.00909ZM3.60906 1.85761L6.20905 4.45761L7.05758 3.60909L4.45758 1.00909L3.60906 1.85761ZM3.43332 1.43335V14H4.63332V1.43335H3.43332ZM8.79999 4.63335H14V3.43335H8.79999V4.63335ZM8.79999 8.10002H12.2667V6.90002H8.79999V8.10002ZM8.79999 11.5667H10.5333V10.3667H8.79999V11.5667Z\" fill=\"currentColor\"/>\n  </svg>"
                    },
                    "stateIcon": {
                        "svg": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 20 20\" fill=\"#1B1F23\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M10 4L9.6084 3.54541C9.83347 3.35153 10.1665 3.35153 10.3916 3.54541L10 4ZM13.3916 6.12975C13.6427 6.34603 13.6709 6.72488 13.4546 6.97594C13.2383 7.227 12.8595 7.2552 12.6084 7.03892L13.3916 6.12975ZM7.3916 7.03892C7.14054 7.2552 6.76169 7.227 6.54541 6.97594C6.32914 6.72488 6.35734 6.34603 6.6084 6.12975L7.3916 7.03892ZM10.6 15C10.6 15.3314 10.3314 15.6 10 15.6C9.66863 15.6 9.4 15.3314 9.4 15H10.6ZM10.3916 3.54541L13.3916 6.12975L12.6084 7.03892L9.6084 4.45459L10.3916 3.54541ZM10.3916 4.45459L7.3916 7.03892L6.6084 6.12975L9.6084 3.54541L10.3916 4.45459ZM9.4 15V4H10.6V15H9.4Z\" fill=\"#1B1F23\"/>\n  </svg>",
                        "width": 18,
                        "height": 18
                    }
                },
                {
                    "text": "冻结列",
                    "menuKey": "frozen_col",
                    "icon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    },
                    "selectedIcon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    }
                },
                {
                    "text": "设置字段信息",
                    "menuKey": "dimmet_info"
                },
                {
                    "text": "设置数据格式",
                    "menuKey": "num_format"
                },
                {
                    "text": "编辑视觉样式",
                    "menuKey": "visual_style"
                }
            ]
        }
    ],
    "records": [
        {
            "240319212657133": "2147538.9250000003"
        }
    ],
    "transpose": true,
    "widthMode": "autoWidth",
    "autoFillWidth": true,
    "columnWidthComputeMode": "normal",
    "columnResizeMode": "header",
    "heightMode": "autoHeight",
    "autoWrapText": true,
    "maxCharactersNumber": 256,
    "defaultHeaderColWidth": 325,
    "keyboardOptions": {
        "copySelected": false
    },
    "menu": {
        "renderMode": "html",
        "dropDownMenuHighlight": []
    },
    "frozenColCount": 0,
    "theme": {
        "underlayBackgroundColor": "rgba(255,255,255,0)",
        "scrollStyle": {
            "visible": "focus",
            "width": 7,
            "hoverOn": true
        },
        "selectionStyle": {
            "cellBorderColor": "#3073F2",
            "cellBorderLineWidth": 2,
            "cellBgColor": "rgba(186, 215, 255, 0.2)"
        },
        "frameStyle": {
            "borderColor": "#E1E4E8",
            "borderLineWidth": 1
        },
        "headerStyle": {
            "borderColor": [
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8"
            ],
            "borderLineWidth": [
                1,
                1,
                1,
                1
            ],
            "borderLineDash": [
                null,
                null,
                null,
                null
            ],
            "padding": [
                8.6,
                12,
                8.6,
                12
            ],
            "hover": {
                "cellBgColor": "rgba(0, 100, 250, 0.16)",
                "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
            },
            "frameStyle": {
                "borderColor": [
                    null,
                    "#E1E4E8",
                    null,
                    null
                ],
                "borderLineWidth": 2
            },
            "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
            "fontSize": 12,
            "fontVariant": "normal",
            "fontStyle": "normal",
            "fontWeight": "bold",
            "color": "#1B1F23",
            "bgColor": "#EEF1F5",
            "lineHeight": 18,
            "underline": false
        },
        "rowHeaderStyle": {
            "borderColor": [
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8"
            ],
            "borderLineWidth": [
                1,
                1,
                1,
                1
            ],
            "borderLineDash": [
                null,
                null,
                null,
                null
            ],
            "padding": [
                8.6,
                12,
                8.6,
                12
            ],
            "hover": {
                "cellBgColor": "rgba(0, 100, 250, 0.16)",
                "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
            },
            "frameStyle": {
                "borderColor": [
                    null,
                    "#E1E4E8",
                    null,
                    null
                ],
                "borderLineWidth": 2
            },
            "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
            "fontSize": 12,
            "fontVariant": "normal",
            "fontStyle": "normal",
            "fontWeight": "bold",
            "color": "#1B1F23",
            "bgColor": "#EEF1F5",
            "lineHeight": 18,
            "underline": false
        },
        "bodyStyle": {
            "borderColor": [
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8"
            ],
            "borderLineWidth": [
                1,
                1,
                1,
                1
            ],
            "borderLineDash": [
                null,
                null,
                null,
                null
            ],
            "padding": [
                8.6,
                12,
                8.6,
                12
            ],
            "hover": {
                "cellBgColor": "rgba(186, 215, 255, 0.2)",
                "inlineRowBgColor": "rgba(186, 215, 255, 0.2)",
                "inlineColumnBgColor": "rgba(186, 215, 255, 0.2)"
            },
            "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
            "fontSize": 12,
            "fontStyle": "normal",
            "fontWeight": "normal",
            "fontVariant": "normal",
            "color": "#141414",
            "lineHeight": 18,
            "underline": false
        },
        "frozenColumnLine": {
            "shadow": {
                "width": 3,
                "startColor": "rgba(225, 228, 232, 0.6)",
                "endColor": "rgba(225, 228, 232, 0.6)"
            }
        },
        "cellInnerBorder": false,
        "cellBorderClipDirection": "bottom-right",
        "_contentOffset": 1
    },
    "showHeader": true,
    "hash": "d934ab3ea635c686d460f1883a38d1b5"
}

tableInstance = new VTable.ListTable(document.getElementById(CONTAINER_ID),option);
window['tableInstance'] = tableInstance;

setTimeout(()=>{
    tableInstance.updateOption({...option,
    columnWidthComputeMode:'only-body',
    defaultHeaderColWidth:500 })
},1500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bp bp bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants