IntelliJ Java IDE
The moose likes JSF and the fly likes Alignement issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Alignement issue" Watch "Alignement issue" New topic
Author

Alignement issue

Sakthi Kani
Ranch Hand

Joined: Mar 29, 2005
Posts: 98
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.


" Don't be afraid of pressure. Remember that pressure is what turns a lump of coal into a diamond... " <br /> <br />Thanks & Regards...<br />Sakthi<br />SCJP1.4, OCA
Bob Good
Ranch Hand

Joined: Jan 09, 2008
Posts: 86
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.
 
IntelliJ Java IDE
 
subject: Alignement issue
 
Threads others viewed
hibernate association delete
XSLT/XPath - Find unique text node value
hibernate relations mapping
How to assign foreign key relationships in EJB!!
Company won't pay for the last paycheck
IntelliJ Java IDE