0

Suppose I want to create a table with php-excel or laravel-excel that should has the following structure:

<table>
   <thead>
      <th>Column A</th>
      <th>Column B</th>
   </thead>
   <tbody>
      <tr>
        <td>value 1</td>
        <td>
          <table>
              <thead>
                 <th>neste column 1</th>
                 <th>nest column 2</th>
              </thead>
              <tbody>
                 <tr>
                    <td>nested value 1</td>
                    <td>nested value 2</td>
                 </tr>
              </tbody> 
          </table>
         </td>
       </tr>  
   </tbody>
</table>

I searched a lot and it seems that excel doesn't support nested table. If it is possible, how we can do that?

Cœur
  • 37,241
  • 25
  • 195
  • 267
jones
  • 1,423
  • 3
  • 35
  • 76
  • No, MS Excel does not support nested tables; Excel is a simple spreadsheet.... you can manipulate it to some extend with merged cells, but you can't nest tables – Mark Baker Apr 12 '16 at 09:45
  • @MarkBaker Thanks. I will try with cell merging. – jones Apr 12 '16 at 10:00

0 Answers0