alaahong commented on issue #666:
URL: https://github.com/apache/fesod/issues/666#issuecomment-3477885480

   As Fesod supports multiple level headers, here is a special case for further 
discussion and verification.
   
   <img width="761" height="379" alt="Image" 
src="https://github.com/user-attachments/assets/98ec6c71-0d1c-4a3a-952a-ff2c10139227";
 />
   
   ```
   
           List<List<String>> multiHeader = new ArrayList<>();
           multiHeader.add(new ArrayList<>(Arrays.asList("head10", "head10", 
"head10", "head51")));
           multiHeader.add(new ArrayList<>(Arrays.asList("head20", "head21", 
"head22", "head51")));
           multiHeader.add(new ArrayList<>(Arrays.asList("head30", "head31", 
"head31", "head51")));
           multiHeader.add(new ArrayList<>(Arrays.asList("head30", "head31", 
"head32", "head51")));
           multiHeader.add(new ArrayList<>(Arrays.asList("head40", "head31", 
"head32", "head51")));
           multiHeader.add(new ArrayList<>(Arrays.asList("head40", "head41", 
"head41", "head51")));
           File target = TestFileUtil.createNewFile("dynamicHeadWrite" + 
System.currentTimeMillis() + ".xlsx");
           FastExcel.write(target)
                   .head(multiHeader)
                   .sheet()
                   .doWrite(data2());
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to