Bonjour,
Je souhaite afficher dans mon rapport la classe A :
Si possible, je souhaite que chaque élément de la liste B soit afficher dans un grid tout seul.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Class A{ ... List<B> listB; } Class B{ String X; List<C> listC; }
j'ai pas de plugin, je change directement dans le rptdesign. J'arrive bien à afficher listB mais je bloque sur List<C>, si une âme charitable passe par le coin..
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 <table id="1"> .. <property name="dataSet">ListBDataSet</property> <list-property name="boundDataColumns"> <structure> <property name="name">X</property> <expression name="expression" type="javascript">dataSetRow["X"]</expression> <property name="dataType">string</property> </structure> </list-property> <detail> <row id="10"> <cell id="20"> <grid id="30"> <row id="40"> <cell id="50"> <property name="colSpan">4</property> <text-data id="60"> <property name="fontSize">11pt</property> <property name="textUnderline">underline</property> <property name="fontWeight">bold</property> <property name="color">black</property> <expression name="valueExpr">row["X"]</expression> <property name="contentType">html</property> </text-data> </cell> </row>
Partager