Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Hide actions column in datagrid if there is no contextual actions #524

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dpresiana
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Examples have been added / updated (for bug fixes / features)
  • Changelog has been updated

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Example website changes
  • Version bump
  • Other... Please describe:

What does this change do?

Hide the actions column in datagrid if there are no contextual actions available and the contextual actions configuration is set to be displayed in a row.

What manual testing did you do?

  1. Update all contextual actions type from the datagrid example to be ActionType.STATIC_FEATURED
  2. serve the examples
  3. verify that the actions column is missing

Screenshots (if applicable)

Screenshot 2023-06-13 at 15 24 04

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants