Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Conversation

@palfeline
Copy link

fix the problem of merging cells
thanks to Alexandr akteur13
he give the plan in this issue #529
and i try to slove the problem by his plan
you can use the function setMergeRanges($mergeRanges) like this:

$currentSheet = $writer->getCurrentSheet();
....
$mergeRanges = ['E1:AI1']; // you can list the cells you want to merge like this ['A1:A4','A1:E1']
$currentSheet->setMergeRanges($mergeRanges);
Infect it worked!

palfeline and others added 7 commits July 20, 2020 14:32
fix the merging cells problem
add the set and get function of the merge ranging
@palfeline palfeline closed this Sep 16, 2020
@palfeline palfeline reopened this Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant