VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] 交叉表设置自定义单元格渲染无法展示

Open noxxxxxxxx opened this issue 1 year ago • 0 comments

Version

1.5.4

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/jiao-cha-biao-g5tn75?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clzfgxjh900063b6i4c1qzd15%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clzfgxjh900023b6iotqg3v43%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clzfgxjh900033b6i1hdd6vm5%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clzfgxjh900053b6iqxjdxho4%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B69.10150354052962%252C30.89849645947038%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clzfgxjh900023b6iotqg3v43%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clzfgxjh900013b6imfyl6g28%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522clzftphyy00023b6iknx0vyb5%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A116%252C%2522startColumn%2522%253A31%252C%2522endLineNumber%2522%253A116%252C%2522endColumn%2522%253A31%257D%255D%252C%2522filepath%2522%253A%2522%252Fsrc%252FApp.ts%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522clzftzw0k00023b6i010b18al%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A139%252C%2522startColumn%2522%253A31%252C%2522endLineNumber%2522%253A139%252C%2522endColumn%2522%253A31%257D%255D%252C%2522filepath%2522%253A%2522%252Fsrc%252FApp.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clzfgxjh900023b6iotqg3v43%2522%252C%2522activeTabId%2522%253A%2522clzftzw0k00023b6i010b18al%2522%257D%252C%2522clzfgxjh900053b6iqxjdxho4%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clzfgxjh900043b6i4fh09r0y%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522id%2522%253A%2522clzfgxjh900053b6iqxjdxho4%2522%252C%2522activeTabId%2522%253A%2522clzfgxjh900043b6i4fh09r0y%2522%257D%252C%2522clzfgxjh900033b6i1hdd6vm5%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clzfgxjh900033b6i1hdd6vm5%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A19.84126984126985%257D

Steps to Reproduce

  1. 只有 indicator 配置
  2. 渲染后只有表头,没有数据展示

Current Behavior

  1. 只有 indicator 配置
  2. 渲染后只有表头,没有数据展示

image

Expected Behavior

  1. 渲染后有行数据
  2. 指标的排序切换支持自定义函数和切换到原始状态,默认情况下点击后只能生序降序,无法回到默认状态

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

noxxxxxxxx avatar Aug 07 '24 16:08 noxxxxxxxx