antvis / antvis/S2

🤔树形结构的透视表能否对行维度父子维度同时排序?现状是只能对父节点的某字段排序或者子节点的某字段排序

Open
#2,899 2 comments 0 reactions 0 assignees View on GitHub
❔question 💤 inactive next
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### 🏷 Version

| Package | Version |
| -------------- | ------- |
| @antv/s2 | 2.0.0-next.26 |
| @antv/s2-react | 2.0.0-next.25 |
| @antv/s2-vue | |

### Sheet Type

- [√ ] PivotSheet
- [ ] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
- [ ] EditableSheet

### 🖋 Description

![image](https://github.com/user-attachments/assets/3f0e82ee-4852-4ae9-a07a-22e45f94f74e)
如果父节点数据倒序排序,但是组内的数据无法倒序拍戏,如果组内的数据倒序排序,那么父节点的数据又无法正常排序?能否有方法让父子的指标同时倒序排序?
### 🔗 Reproduce Link

### 😊 Expected Behavior

### 😅 Current Behavior

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in a PivotSheet using @antv/s2 2.0.0-next.26 and the reported parent/child sorting scenario; no reproduction link or source file is provided. Trace the existing row-dimension sorting entry points and define completion as applying descending sorting consistently to both parent nodes and their grouped child nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.