xlsx-file包含三个级别的行。第一级的记录:单击加号展开第二级的行。来自第二级的记录:单击加号展开来自第三级的行。
我正在使用PhpOffice\PhpSpreadSheet。
如果可能,如何通过PhpOffice/PhpSpreadSheet从xlsx-file中只获取第二级的行?
发布于 2019-03-12 20:24:16
是通过使用以下代码解决的
$depthLevel = $spreadSheet->getActiveSheet()->getRowDimension($row)->getOutlineLevel();
https://stackoverflow.com/questions/55002341
复制相似问题