Page 1 of 1

Datatable Mobile Layout

Posted: 28 Apr 2022, 19:52
by alihasanash
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?

Re: Datatable Mobile Layout

Posted: 04 May 2022, 13:34
by mert.sincan
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,

Re: Datatable Mobile Layout

Posted: 12 Jul 2022, 08:18
by alihasanash
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

Re: Datatable Mobile Layout

Posted: 12 Jul 2022, 10:32
by mert.sincan
Glad to hear, thanks a lot for the update!

Best Regards,