Skip to content

Spec/row actions 20260623#15

Merged
paodb merged 2 commits into
spec/row-actionsfrom
spec/row-actions-20260623
Jun 24, 2026
Merged

Spec/row actions 20260623#15
paodb merged 2 commits into
spec/row-actionsfrom
spec/row-actions-20260623

Conversation

@javier-godoy

Copy link
Copy Markdown
Member

Replace the boolean setRowActionsAsMenu() method with a more flexible setRowActionsStyle(RowActionsStyle) API that supports three distinct presentation modes for row actions:

  • INLINE_BUTTONS (default): Each action is rendered as a separate inline button in the dedicated actions column
  • DROPDOWN: All actions are presented as items in an overflow menu, triggered by a single button per row in the actions column
  • CONTEXT_MENU: All actions are presented as items in the grid's right-click context menu; no actions column is created

Motivation

The boolean API was limited to two modes and didn't clearly express the intent. The enum-based approach is more explicit, easier to extend in the future, and clearly names each presentation style. It also opens up support for context menu rendering, which is a common use case.

Key Changes

  • Rename setRowActionsAsMenu(boolean)setRowActionsStyle(RowActionsStyle)
  • Update getActionsColumn() documentation to clarify it returns null for CONTEXT_MENU style
  • Update setRowActionsRenderer() reference to use the new method name
  • Clarify refresh behavior in refreshRowActions() and remove() documentation
  • Update usage examples to demonstrate all three styles
  • Shift terminology from "actions column" to "row actions" where applicable, since not all styles use a dedicated column.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8e6d67a1-6770-45ca-af9a-4753f6df9e08

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spec/row-actions-20260623

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@javier-godoy javier-godoy marked this pull request as ready for review June 23, 2026 14:53
@paodb paodb merged commit a58ad9e into spec/row-actions Jun 24, 2026
1 of 2 checks passed
@paodb paodb deleted the spec/row-actions-20260623 branch June 24, 2026 13:55
@github-project-automation github-project-automation Bot moved this from To Do to Pending release in Flowing Code Addons Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending release

Development

Successfully merging this pull request may close these issues.

2 participants