VisActor / VisActor/VTable

[Bug] 分组表格中,当分组内只有一个子项时,编辑属于当前分组的单元格会触发报错。

Open
#4,216 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

Version

1.19.3

Link to Minimal Reproduction

https://codesandbox.io/p/devbox/nrgx28

Steps to Reproduce

1.访问复现链接:https://codesandbox.io/p/devbox/nrgx28
2.尝试编辑 AAAA 列下的单元格
3.退出编辑后查看 log 控制台:

Current Behavior

1.控制台出现如下报错:
Image
2.数据未及时更新
3.分组未重新调整

Expected Behavior

数据更新后能正常调整分组分组

Environment
- OS: any
- Browser: any
- Framework: any
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal reproduction at https://codesandbox.io/p/devbox/nrgx28 and reproduce the error by editing a cell in the AAAA column when a group has one child item. Trace the grouped-table editing and regrouping entry points in the TypeScript source. Done means the edit updates the data, produces no console error, and recalculates the group correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.