react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

The API for CellRenderer and RowRenderer should be the same

Open smtheard opened this issue 9 years ago • 5 comments

WHICH VERSION OF REACT ARE YOU USING?

Officially Supported:
[ x] v0.14.x
Community Supported:
[ ] v15.0.x
Officially Supported:
[ ] IE 9 / IE 10 / IE 11
[ ] Edge
[ x] Chrome
Should work:
[ ] Firefox
[ ] Safari

I'm submitting a ... (check one with "x")

[ ] bug report
[ x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md

Current behavior RowRenderer takes an extraClasses prop and CellRenderer does not.

Expected/desired behavior They should booth take an extraClasses prop. It's awkward, unclear, and confusing to have RowRenderer take extraClasses but CellRenderers className have the same behavior but extraClasses be completely unsupported on it.

Reproduction of the problem

< CellRenderer {...props} extraClasses="this does not do anything" />

If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior? CellRenderer should be able to work with extraClasses.

What is the motivation / use case for changing the behavior? Clarity/consistency of API.

smtheard avatar Jun 26 '17 21:06 smtheard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please reopen this if you feel it has been incorrectly closed and we will do our best to look into it. Thank you for your contributions.

stale[bot] avatar Jul 12 '18 15:07 stale[bot]

still a legitimate issue, should definitely fix.

smtheard avatar Jul 12 '18 18:07 smtheard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please reopen this if you feel it has been incorrectly closed and we will do our best to look into it. Thank you for your contributions.

stale[bot] avatar Aug 11 '18 18:08 stale[bot]

this bot is infuriating

smtheard avatar Aug 13 '18 19:08 smtheard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please reopen this if you feel it has been incorrectly closed and we will do our best to look into it. Thank you for your contributions.

stale[bot] avatar Sep 12 '18 19:09 stale[bot]