• Post Reply Bookmark Topic Watch Topic
  • New Topic

Alignement issue

 
Sakthi Kani
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to display my table like the following,
-------------------------------
Emp.No Emp.Name DOJ
-------------------------------
101 Sakthi 3/10/2005
Dept Computer
-------------------------------
103 LSK 23/6/2007
Dept Accounts
---------------------------------

I want to dispay Dept in second line of the same row.
I tried with <h:dataTable>, its not coming.

Is there any other way to do it ?

Thanks in advance.
 
Bob Good
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw something here:

" target="_blank" rel="nofollow">http://forum.java.sun.com/thread.jspa?threadID=683683&messageID=3983126

You can do a trick:
Use an outer datatable that will show a single columned row.
In this row create a datagrid with as much rows and columns that you want.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!