antvis / antvis/S2

🤔列宽固定,行头如何自适应铺满容器

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

Description

### 🏷 Version

| Package | Version |
| -------------- | ------- |
| @antv/s2 | 1.47.1 |
| @antv/s2-react | |
| @antv/s2-vue | |

### Sheet Type

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

### 🖋 Description

想要一些列宽设定固定宽度,当表格总宽度不满容器时候,未设定宽度的行头和列如何配置能自适应铺满容器

### 🔗 Reproduce Link

https://codesandbox.io/s/fxdd8h?file=/index.ts

### 😊 Expected Behavior

![image](https://github.com/antvis/S2/assets/20148778/14d70751-30a7-4e4e-b92e-1171acf04baf)

### 😅 Current Behavior

![image](https://github.com/antvis/S2/assets/20148778/970168a1-7c60-4f14-a307-8f74ad26df3d)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox, particularly index.ts, and inspect the PivotSheet sizing configuration shown there. Determine how fixed-width columns and unspecified row or column headers are expected to fill the container; done means the relevant configuration or behavior is documented or implemented and the reproduced layout matches the expected image.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.