Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: V2 Table should have possibility to hide columns like V1 Table #10113

Open
1 task done
OliwiaGowor opened this issue Oct 30, 2024 · 2 comments
Open
1 task done
Assignees
Labels
author action information required Further information is requested Kyma

Comments

@OliwiaGowor
Copy link

Feature Request Description

As we are migrating from V1 to V2, and from old Table component to the new one, we noticed that the functionality of hiding columns in different screen sizes is no longer available. In the old Table there was demandPopin property in TableColumn component that allowed it. Currently columns can be only moved into the popin area using the TableHeaderCell component. It was one of the key features, that we used in our tables and currently blocks further migration to the new Table.

Proposed Solution

Bring back the ability to hide columns based on different screen sizes for the V2 TableHeaderCell component like in the V1 TableColumn with demandPopin property.

Proposed Alternatives

No response

Organization

Kyma

Additional Context

No response

Priority

High

Privacy Policy

  • I’m not disclosing any internal or sensitive information.
@dimovpetar dimovpetar self-assigned this Oct 30, 2024
@dimovpetar
Copy link
Contributor

Hello @OliwiaGowor ,

Have you tried using overflow-mode="Popin" in combination with importance? Here is an sample . Does this work for you?

Best regards,
Petar

@dimovpetar dimovpetar added information required Further information is requested author action Kyma labels Oct 30, 2024
@OliwiaGowor
Copy link
Author

OliwiaGowor commented Oct 30, 2024

Hello @dimovpetar ,
yes, but for our use we need to completely hide the columns that change into popins, not only collapse them. Based on the sample you provided we want to have for example only the Product column visible on smaller screens/table size. That was possible using the mentioned demandPopin prop in V1 TableColumn component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author action information required Further information is requested Kyma
Projects
None yet
Development

No branches or pull requests

2 participants