aspose file tools
The moose likes JSF and the fly likes Want to print key values in a list as an header and values under the header column Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Want to print key values in a list as an header and values under the header column" Watch "Want to print key values in a list as an header and values under the header column" New topic
Author

Want to print key values in a list as an header and values under the header column

Srinivas Kasani
Greenhorn

Joined: Sep 26, 2008
Posts: 22
I have a requirement, where in I have a list object which contains header name and the value. I'm trying to iterate over the list and print the header and values in the row pattern.
For example key = A and value = abc, Key = B and value = abc1, Key = C and value = abc2, these are stored in the ArrayList. I want to print them like below

A B C
abc abc1 abc2

Can anybody suggest me the idea. dataTable is printing the values in singles column.
 
I agree. Here's the link: jrebel
 
subject: Want to print key values in a list as an header and values under the header column
 
Similar Threads
How to:using routines of a dll
How can deletion trigger unique constraint violation? Hibernate 2
plz help me...
java.lang.OutOfMemoryError: Java heap space
confuse of ==