Hi all,
I am developing one web page where I have used datatable from primeFaces to show records. I have added a functionality through which user can customize the columns of this table like if there are total fifteen columns in table but user want to see only three columns or ten columns.
So the problem I am facing in this is upto some specific column numbers table fits perfectly in whatever the space is assigned for that table but after that when I add some more columns that table goes beyond that space.
Please someone tell me how should I do this ......
DataTable size
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
You can make datatable scrollable in the horizontal: Showcase example
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests