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

TreeTable: cell layout - force single line #5611

Open
ray007 opened this issue Apr 18, 2024 · 0 comments
Open

TreeTable: cell layout - force single line #5611

ray007 opened this issue Apr 18, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@ray007
Copy link

ray007 commented Apr 18, 2024

Describe the bug

When the column containing the select checkbox and/or the expander is too narrow, the displayed value is moved to a seconds line below:
image
What I would like to have instead:
image
best would be a tooltip for the value in this case.

Since there is no container tag in the cell containing the 3 elements, I'm having a hard time to get this.

An alternative solution would be to have selection checkbox and/or expander in their own column, that would also provide a nice place for a "Select all" checkbox on top.

Reproducer

https://stackblitz.com/edit/mxw3qy?file=src%2FApp.vue

PrimeVue version

3.50.0

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome 124, Firefox 124

Steps to reproduce the behavior

Open reproducer and make the view narrow enough that the columns cannot contain their values on one line.

Expected behavior

Values are displayed in a single line in the cell (beside buttons), too lang value get text-overflow: ellipsis.

@ray007 ray007 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant