langleyfoxall / langleyfoxall/react-dynamic-data-table

Allow the ability to add grouped rows

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
12
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I'd like to see the ability to add grouped rows. This can be achieved by having many tbody elements within a table. Within the HTML spec for tables it references this:

<!ELEMENT table - - (caption?, (col*|colgroup*), thead?, tfoot?, tbody+)>

Meaning you can have infinite number of tbodys. Perhaps it would be structured in a way to pass a className which would be set on the different groups. This would be great if you had different data sources with the same columns, for example, to split them up you could add a different background-color.

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

No file or test is named. Start by locating the reusable React data-table entry point and its row-rendering API, then review the linked HTML table specification. Done should define how grouped tbody sections and their className values are supplied and verify that separate groups render with the same columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
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.