primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
9.84k stars 4.5k forks source link

The width of the columns shows unexpected results and expanded automatically on load #15054

Open chinthu opened 3 months ago

chinthu commented 3 months ago

Describe the bug

THe table with resize enabled and resize mode expand and on load the column width is showing too large size and each column is taking 100% of available width.

Environment

"primeng": "^13.4.1", "@angular/common": "~13.1.0",

Reproducer

No response

Angular version

13.1.0

PrimeNG version

13.4.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.13.2

Browser(s)

Chrome 122

Steps to reproduce the behavior

  1. Load the grid and initial size of columns become too large
  2. or click on sort of column , the size of all columns becomes 100% of available width sample grid

Expected behavior

on initial load columns will autofit in available area

mehmetcetin01140 commented 3 months ago

Hi, could you please share a stackblitz example?