Skip to content

Auto-select table record on row actions menu clicked#131

Merged
Oleg-Melnik merged 4 commits into
masterfrom
auto-select-table-record
Jul 14, 2026
Merged

Auto-select table record on row actions menu clicked#131
Oleg-Melnik merged 4 commits into
masterfrom
auto-select-table-record

Conversation

@Oleg-Melnik

@Oleg-Melnik Oleg-Melnik commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

What

Makes the Table component select the corresponding record when the user
opens a row's actions menu. Previously, clicking the "More" button only opened
the dropdown menu, leaving the selection (and row highlight) on whatever row
was selected before.

Details

  • rowActionsColumn and RowActionsButton accept a new
    onRowActionsClicked: (E) -> Unit callback, invoked with the row's entity
    right before the dropdown menu is shown.
  • Table.content() passes ::changeSelectedEntity as that callback, so
    invoking the menu reuses the regular row-selection flow: selectedEntity is
    updated, the onSelect callback fires, and the row receives the
    selected-row highlight — exactly as if the row itself was clicked.
  • The wiring is internal (private functions); there is no public API change.

Other changes

  • Bumped the version to 2.0.0-SNAPSHOT.87 and regenerated pom.xml and
    dependencies.md.

@Oleg-Melnik Oleg-Melnik self-assigned this Jul 14, 2026
@Oleg-Melnik Oleg-Melnik requested review from armiol and dpikhulya July 14, 2026 17:13
@Oleg-Melnik Oleg-Melnik removed the request for review from armiol July 14, 2026 17:34
@Oleg-Melnik Oleg-Melnik merged commit ec12fb6 into master Jul 14, 2026
5 checks passed
@Oleg-Melnik Oleg-Melnik deleted the auto-select-table-record branch July 14, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants