react-component / react-component/table

Access to the row props from a cell

Open
#930 0 comments 0 reactions 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've been looking for a way to access the properties of the row from within a cell/record.

The use case is to change the style of a row when a button in one of the cells is clicked. I have looked for a way to do this but have come up short.

If there currently isn't a way to do this, do you think this would be a worthwhile addition?

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 mentions cells/records and changing row styling after a button click, but names no files or tests. Start by locating the cell/record API and determine whether row properties can be exposed; done would be a clear, usable way to access row props from within a cell.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.