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

Table: Column resize not working with minimum width #11873

Closed
yuvarajProl opened this issue Aug 26, 2022 · 3 comments · Fixed by #11906
Closed

Table: Column resize not working with minimum width #11873

yuvarajProl opened this issue Aug 26, 2022 · 3 comments · Fixed by #11906
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@yuvarajProl
Copy link

yuvarajProl commented Aug 26, 2022

Describe the bug

We have upgraded the primeng version in our application from "12.0.0" to "14.0.2." When the table header has "min-width: 200px," the data table column resizing functionality in the previous version (12.0.0) works perfectly.

My angular code for table heading:

<ng-container *ngFor="let col of columns">

Primeng "14.0.2" upgrade broke the same code. We determine that the "min-width: 200px" directive from outside is the cause of this. I would like your assistance in figuring out how to utilise "min-width" for table headers "th" in primeng "14.0.2" Version.

Please use the pictures below as a guide.

image

Can you assist me to resolve this problem.

Environment

Angular 14.1.1

Reproducer

No response

Angular version

14.1.1

PrimeNG version

14.0.2

Build / Runtime

TypeScript

Language

ALL

Node version (for AoT issues node --version)

14.17.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@yuvarajProl yuvarajProl added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 26, 2022
@yuvarajProl yuvarajProl changed the title Data Table: Column min-width resize not working Table: Column resize not working with minimum width Aug 26, 2022
@cetincakiroglu
Copy link
Contributor

cetincakiroglu commented Sep 2, 2022

Hi @yuvarajProl ,

I've tried but cannot reproduce the problem, could you please share a reproducer by using PrimeNG Issue Template https://stackblitz.com/github/primefaces/primeng-issue-template

@yuvarajProl
Copy link
Author

Hi @cetincakiroglu ,

Can you please check following link

https://stackblitz.com/edit/github-nvaj19?file=src/app/app.component.html

@cetincakiroglu
Copy link
Contributor

Hi @yuvarajProl,

Great catch, thanks for your report it'll be fixed in the upcoming release!

cetincakiroglu added a commit that referenced this issue Sep 7, 2022
Fixed #11873 - Table: Column resize not working with minimum width
@cetincakiroglu cetincakiroglu removed the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 7, 2022
@cetincakiroglu cetincakiroglu added this to the 14.0.3 milestone Sep 7, 2022
@cetincakiroglu cetincakiroglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants