Bonjour,

je voudrais crée une table et inserer dans chaque cellule de cette table une autre table.

J'utilise le code suivant mais il n'est vraiment pas satisfaisant

PdfPTable tableGene = new PdfPTable(4);
PdfPTable tableEtudiant = new PdfPTable(1);

int j = 0;
EtudiantVrs etudiant;

while(j < lEtuImage.count()){
etudiant = (EtudiantVrs) lEtuImage.objectAtIndex(j);
tableEtudiant.addCell(etudiant.getLib_nom_pat_ind());
tableEtudiant.addCell(etudiant.getLib_pr1_ind());

tableGene.addCell(tableEtudiant);
j++;
}
document.add(tableGene);
en fait la table "tableEtudiant" se rempli completement et ensuite elle est insérer dans les cellule de la table "tableGene"

comment est-ce que je peux faire pour pallier à ce probleme?