-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 'sizes' Not Working #17180
Comments
I confirm... tried to upgrade from primeng 17, this no longer works. |
it doesn't work for me in Primeng 18 either |
We're unable to replicate your issue. Could you please try it with the latest PrimeNG version? If the problem continues, could you create a reproducer using PrimeNG Issue Template or provide additional details by editing this issue? This issue will be closed if no activities in 20 days. |
Hi, you need to set table's size prop ('small' | 'large') instead of styleClass, given reproducer uses styleClass instead of size. |
I confirm thatit works with "size" (primeng 19). Thank you! |
There is css classes 'p-datatable-sm' and 'p-datatable-lg' but these classes not working for table
Small
Medium
Large
Reproducer
https://stackblitz.com/edit/num7uo3f?file=src%2Fapp%2Ftable-size-demo.ts,src%2Fapp%2Fimports.ts,package.json
Environment
Linux mint 22
Angular version
18.2.1
PrimeNG version
v18 (LTS Only)
Node version
v20.18.0
Browser(s)
chrome, firefox
Steps to reproduce the behavior
Expected behavior
Expected behavior is I can set the table size manually which can be small, normal and large
The text was updated successfully, but these errors were encountered: