CodeExplorer calculateColumnsWidth example
$rows[] =
[$cell];
} } } } else { $rows =
array_merge($this->headers,
[$divider],
$this->rows
);
} $this->
calculateNumberOfColumns($rows);
$rowGroups =
$this->
buildTableRows($rows);
$this->
calculateColumnsWidth($rowGroups);
$isHeader = !
$horizontal;
$isFirstRow =
$horizontal;
$hasTitle =
(bool) $this->headerTitle;
foreach ($rowGroups as $rowGroup) { $isHeaderSeparatorRendered = false;
foreach ($rowGroup as $row) { if ($divider ===
$row) { $isHeader = false;
} } } } else { $rows =
array_merge($this->headers,
[$divider],
$this->rows
);
} $this->
calculateNumberOfColumns($rows);
$rowGroups =
$this->
buildTableRows($rows);
$this->
calculateColumnsWidth($rowGroups);
$isHeader = !
$horizontal;
$isFirstRow =
$horizontal;
$hasTitle =
(bool) $this->headerTitle;
foreach ($rowGroups as $rowGroup) { $isHeaderSeparatorRendered = false;
foreach ($rowGroup as $row) { if ($divider ===
$row) { $isHeader = false;