SIGN IN SIGN UP
appsmithorg / appsmith UNCLAIMED

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.

0 0 68 TypeScript

feat: add headerRowColor, oddRowColor, evenRowColor style properties to TableWidgetV2 (#41551)

Add widget-level row color style properties that allow users to
customize header, odd, and even row background colors via the Style tab
color pickers. Colors are applied via CSS classes on the TableWrapper
styled component, with correct priority below
selected-row/hover/cell-level overrides.

## Description
Alternate row colors on tables


Fixes #`8923`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### :mag: Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/22078556344>
> Commit: 5f7961b9ba56fd4df3d4fc8156ca39ebbdc97b60
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=22078556344&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 16 Feb 2026 23:08:48 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [X] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **New Features**
* Table widgets now support custom row and header colors. Users can
configure header row background, header text, odd row background, and
even row background colors for enhanced visual customization.

* **Refactor**
* Optimized table row styling logic and removed unused code expressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: subrata71 <subrata@appsmith.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
S
Stacey Levine committed
992f911c781c85563d34ae5b473600f4bc5dbfab
Parent: 55ac824
Committed by GitHub <noreply@github.com> on 2/25/2026, 9:47:32 PM