Datatable Mobile Layout

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
alihasanash
Posts: 15
Joined: 30 Mar 2021, 16:17

28 Apr 2022, 19:52

I want to display a datatable on the mobile view with the same appearance as the web view, and i want to hiding some columns so that the table does not become narrow.

Is that possible to do in Primefaces?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 May 2022, 13:34

Hi,

I think you can use reflow attribute of DataTable or displayPriority. Please check our showcase.
https://www.primefaces.org/showcase/ui/ ... rity.xhtml
https://www.primefaces.org/showcase/ui/ ... sive.xhtml

Best Regards,

alihasanash
Posts: 15
Joined: 30 Mar 2021, 16:17

12 Jul 2022, 08:18

mert.sincan wrote:
04 May 2022, 13:34
Hi,

I think you can use reflow attribute of DataTable or displayPriority. Please check our showcase.
https://www.primefaces.org/showcase/ui/ ... rity.xhtml
https://www.primefaces.org/showcase/ui/ ... sive.xhtml

Best Regards,
Solved! Thank you

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

12 Jul 2022, 10:32

Glad to hear, thanks a lot for the update!

Best Regards,

Post Reply

Return to “Diamond - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests