easysoft / easysoft/zui

数据表格2,如何指定自动高度(高度自适应父元素)?

Open
#157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

目前只能设置整型(固定高度)和page(全部内容高度)。
实际使用中,往往表格往往需要撑满父元素,父元素高度是变化的(比如调整浏览器大小)。
已有参数的height属性,如果增加full或者100%,将会加大地方面界面布局。

Contributor guide

No contributing guide indexed for this repository

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

The issue does not name a file, test, or entry point. Start by locating the data-table component and its height handling, then determine how a full or percentage height should interact with a changing parent; done means the table fills that parent without breaking layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.