tianchiing / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Display list data in two different tables. #460

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
My Requirement is like below:

List contains another list:
--------------------|
[1/3/2014, 3/4/2014,|
cd1, decs1]         |
--------------------|
[2/3/2014, 4/4/2014,|
cd2, decs2]         |
------------------- |

I want to display the above list data in two different tables like below:

Expected result :

Table 1)
-------------------------------|
1/3/2014 3/4/2014  cd1   decs1 |
-------------------------------|

Table 2)
------------------------------|
2/3/2014 4/4/2014  cd2  decs2 |
------------------------------|

I have tried below code  :
---------------------------------------|
«@before-row#foreach($d in $dosData)»  |
«@before-cell#foreach($f in $d)»       |
«$f»                                   |
«@after-cell#end»                      |
«@after-row#end»                       |
---------------------------------------

But it displaying wrong format like below :

-------------------------------|
1/3/2014 3/4/2014  cd1   decs1 |
-------------------------------|
2/3/2014 4/4/2014  cd2  decs2  |
------------------------------ |

Original issue reported on code.google.com by arun.har...@gmail.com on 9 Dec 2014 at 9:21

GoogleCodeExporter commented 8 years ago
Can anyone help me on this.

Original comment by arun.har...@gmail.com on 9 Dec 2014 at 9:22