Skip to content

[Feature] 透视表显示效果优化 #3653

@Rui-Sun

Description

@Rui-Sun

What problem does this feature solve?

const option = {
    "records": [
        {
            "fldryS3twC": "{\"text\":\"Daniel Scott\",\"fldKey\":\"fldryS3twC\",\"groupKey\":\"optk1hxRcS\"}",
            "original": {
                "fldryS3twC": {
                    "value": "Daniel Scott",
                    "text": "Daniel Scott",
                    "groupKey": "optk1hxRcS",
                    "fldKey": "fldryS3twC"
                }
            }
        },
    ],
    "rows": [
        {
            "dimensionKey": "fldryS3twC",
            "title": "Salesperson",
            "groupType": "RAW",
            "fieldId": "fldryS3twC",
            "width": "auto",
            "maxWidth": 370,
            "minWidth": 90
        }
    ],
    "columns": [],
    "indicators": [],
    "dataConfig": {
        "aggregationRules": [],
        "sortRules": [
            {
                "sortField": "fldryS3twC",
                "sortType": "asc"
            }
        ],
        "totals": {
            "row": {
                "showGrandTotals": true,
                "grandTotalLabel": "GrandTotalKey"
            }
        }
    },
    "defaultRowHeight": 32,
    "corner": {
        "titleOnDimension": "row",
        "headerStyle": {
            "textStick": false
        }
    },
    "widthMode": "standard",
    "rowHierarchyIndent": 20,
    "rowHierarchyTextStartAlignment": true,
    "hideIndicatorName": false,
    "rowHierarchyType": "grid",
    "columnHierarchyType": "grid",
}

What does the proposed API look like?

  1. 没有指标时,显示列表头标题

Image

  1. 没有指标时,不显示空列

Image

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions