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

DataTable: not possible to set up the height for the row when datatable component has fixed height #5614

Open
aslan0402 opened this issue Apr 19, 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

@aslan0402
Copy link

Describe the bug

<DataTable tableClass="tw3-min-h-[600px]" />

If DataTable has fixed height, it's not possible to set up the row or the td height. Datatable adjust automatically the size of the TD tag....I think it's the worst decision ever. Why not giving possibility through props/classess/styles adjust such properties?

image

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-yrkzxr?file=src%2FApp.vue

PrimeVue version

3.51.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

any

Steps to reproduce the behavior

https://stackblitz.com/edit/primevue-create-vue-issue-template-yrkzxr?file=src%2FApp.vue

Expected behavior

Height of the row/td must be adjustable not only automatically.

@aslan0402 aslan0402 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 19, 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