Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5866706
By: lancelot69fr
Hi,
I am new to the Display Tag Library and we need to have it display this way:
Grouping a
Grouping b Total
COLUMNX COLUMNY COLUMN1a COLUMN2a COLUMN3a COLUMN1b
COLUMN2b COLUMN3b TOTAL1 TOTAL2 TOTAL3
------------ ------------ ------------ ------------
------------ ------------ ------------ ------------
-------- -------- --------
------------ ------------ ------------ ------------
------------ ------------ ------------ ------------
-------- -------- --------
------------ ------------ ------------ ------------
------------ ------------ ------------ ------------
-------- -------- --------
------------ ------------ ------------ ------------
------------ ------------ ------------ ------------
-------- -------- --------
In this example COLUMNX and COLUMNY are predefined columns that exist only once
in the table. Then each grouping actually represent a set of data over a period
of time over in the columns COLUMN1, COLUMN2 and COLUMN3.
There is no limitations as to how many groupings can be created. Based on how
much details it wants, the user can split a date range into however many
grouping
it needs.
In other words columns COLUMN1a and COLUMN1b represents the same type of data,
over different time periods.
To make sure let's give a label to those columns:
COLUMNX = "User Id"
COLUMNY = "User name"
Grouping a = "10/01/2008"
COLUMN1a = "# of Pizza eaten"
COLUMN2a = "# of Cookies eaten"
COLUMN3a = "# of Fruits eaten"
Grouping b = "10/02/2008"
COLUMN1b = "# of Pizza eaten"
COLUMN2b = "# of Cookies eaten"
COLUMN3b = "# of Fruits eaten"
If possible it would be great if the grouping name could be displayed, but I
guess I could also do that in the jsp outside the display tag library table.
I glanced at the possibility of using nested tables... but somehow I didn't
see how to do it that way.
Anyone as ever tried to achieve that type of display with the display tag
library
table???
Thanks,
Lancelot.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user