Skip to content

feat: add rowClassName prop to enable custom row styling#205

Merged
joaocarmo merged 5 commits intomainfrom
80-give-styles-to-specific-row
Apr 4, 2026
Merged

feat: add rowClassName prop to enable custom row styling#205
joaocarmo merged 5 commits intomainfrom
80-give-styles-to-specific-row

Conversation

@joaocarmo
Copy link
Copy Markdown
Owner

@joaocarmo joaocarmo commented Apr 4, 2026

Request type

Summary

Add rowClassName function prop that accepts rowData, rowIndex, and tableData parameters and returns a className string for each table row. This allows conditional styling of rows based on data content.

Check lists

  • Tests passed
  • Coding style respected

Add rowClassName function prop that accepts rowData, rowIndex, and
tableData parameters and returns a className string for each table row.
This allows conditional styling of rows based on data content.
@joaocarmo joaocarmo self-assigned this Apr 4, 2026
@joaocarmo joaocarmo added the enhancement An enhancement that doesn't translate into a feature label Apr 4, 2026
refactor: simplify rowClassName implementation in example to use
modulo operator for alternating odd/even row classes
refactor: reorder rowClassName prop for consistent alphabetical sorting
@joaocarmo joaocarmo merged commit e5e4be0 into main Apr 4, 2026
3 checks passed
@joaocarmo joaocarmo deleted the 80-give-styles-to-specific-row branch April 4, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement that doesn't translate into a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant