Am obtenir cette erreur tout en générant pdf en utilisant dompdfLaravel dompdf ligne d'erreur ne se trouve pas
The row #2 could not be found, please file an issue in the tracker wit
Je peux voir la sortie comme html à mon avis page.But PDF ne génère pas de reçois les error.I ci-dessus ont deux tableaux pour les en-têtes de tableau et les résultats. Mon code comme suit:
Mon code:
<table width="100%" class="fullwidth border">
<thead>
<tr>
<th width="10%"></th>
<th width="10%"></th>
@foreach($selected_fields_top as $key => $value)
<th>{{ $value }}</th>
@endforeach
</tr>
</thead>
<tbody>
<table >
<tbody>
@foreach($selected_fields_left as $key => $value)
<tr><td><b>{{ $value }}</b></td>
<!-- <td> -->
@foreach($resultListLeft as $left_key => $valueArr)
@foreach($valueArr as $k => $v)
@if($v)
<table>
<tbody>
<!-- <tr> -->
@if($valueArr[$value])
<td width="10%">{{$valueArr[$value]}}</td>
@else
<td width="10%">Data not available</td>
@endif
@foreach($resultListTop as $key => $TopvalueArr)
@if($key==$left_key)
@foreach($TopvalueArr as $top_key => $top_value)
@if($top_value)
<td width="10%">{{$top_value}}</td>
@else
<td width="10%">Data not available</td>
@endif
@endforeach
@endif
@endforeach
<!-- </tr> -->
</tbody>
</table>
@endif
@endforeach
@endforeach
<!-- </td> -->
@endforeach
</tr>
</tbody>
</table>
je veux imprimer la sortie comme: -
Top heading1 Topheading2
Left heading 1 Left value Top value Top value
Left value Top value Top value
Left value Top value Top value
etc... etc... etc...
Left heading 2 Left value Top value Top value
Left value Top value Top value
Left value Top value Top value
etc... etc... etc...
Veuillez partager votre code source. –
Puis-je obtenir de l'aide sur ce ..? – Stackvis
Dans la vue suis en mesure de voir la page dans un tableau.Mais tout en générant PDF td, tr breaks.Ne pas prendre toute la largeur que j'ai donné en page html.Il ya une idée de partager s'il vous plaît aider..Merci – Stackvis