Is it possible to show two dataTables in dataGrid

UI Components for JSF
Post Reply
techgeek
Posts: 38
Joined: 07 Sep 2018, 20:37

19 Oct 2018, 00:34

hi

I've a table which has only three columns, so most of the page is empty. Is it possible to get same dataTable (with column headers etc.,) look and feel with dataGrid, so that I can fill the page by setting no.of. columns in dataGrid.

Thanks in advance ?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

19 Oct 2018, 10:35

I've a table which has only three columns, so most of the page is empty.
You can make it wider... Fail to see the problem.

And your title/subject does not seem to match the question in any way or do I miss something?

techgeek
Posts: 38
Joined: 07 Sep 2018, 20:37

19 Oct 2018, 23:40

My motto is not to fill the page by widening the dataTable :) I wanted to show more data (not to add more rows) if I could split the dataGrid in a way to have two dataTables in dataGrid.

Hope you understood my requirement this time? Thanks.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

20 Oct 2018, 15:11

Sure you can have two datatables but they are totally independent then. You could with some javascript and css make them act as one, but that would for users be very unintuitive, 'Newspaper' like behaviour

techgeek
Posts: 38
Joined: 07 Sep 2018, 20:37

22 Oct 2018, 21:46

Sure I'll try thanks much

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests