In jsp I'm using Display tag to print a table. In Display table tag, on giving a property in the display:column tag, that property gets printed as a column. What should I do to print the same as a row?
Let me give an example for clarity:
<display:table name="test">
<display:column property="id" title="ID" />
<display:column property="name" />
</display:table>
The result of this would be:
ID Name
1 Foo
2 Bar
But i want it to be dispalyed row-wise like this:
ID 1 2
Name Foo Bar
How can this be done using display table tag? Any help would be much appreciated.