react-component / react-component/table

Feature Request: Add Hierarchical Lines to Expandable Row RC Table

Open
#1,080 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
618
Avg merge
10h 19m
Merged PRs (30d)
2

Description

I propose adding hierarchical lines to the expandable row feature of the rc-table component. These lines would visually connect parent rows with their child rows, enhancing usability and clarity for users navigating hierarchical data sets. The implementation should dynamically adjust lines based on row expand/collapse state and include customization options for line style, color, and thickness. Integrating hierarchical lines will provide consistency with other components like rc-tree and improve the interpretation of hierarchical data within the table.

Attached to this issue are screenshots illustrating the desired placement and appearance of the hierarchical lines within the rc-table component. These visuals serve to clarify the requested feature and provide guidance for implementation.

Screenshot from 2024-02-12 18-03-07
Screenshot from 2024-02-12 18-03-07

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

Start by reading the rc-table expandable row feature and comparing its hierarchy presentation with rc-tree. Use the attached screenshots to clarify the intended placement and appearance of the connecting lines. Done means lines respond to row expansion and collapse and expose customization for style, color, and thickness.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.