Skip to content

Commit 2499dac

Browse files
committed
Fix #162: Force disable page summary for ExportMenu
1 parent 3b1cc51 commit 2499dac

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ Change Log: `yii2-export`
88
- (enh #288): Correct export column selection when `asDropdown` is `false`.
99
- (enh #276): Ability to configure explicit cell formats (header, footer, content, before, after).
1010
Explicit cell formats must be one of the `PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_` constants.
11-
This can be set via `cellFormat` settings at one or more of the following levels.
11+
This can be set via `cellFormat` settings at one or more of the following levels.
1212
- `Column::headerOptions['cellFormat']` within `columns` array items.
1313
- `Column::contentOptions['cellFormat']` within `columns` array items.
1414
- `Column::footerOptions['cellFormat']` within `columns` array items.
1515
- The `cellFormat` setting for each array item within `ExportMenu::contentBefore`
1616
- The `cellFormat` setting for each array item within `ExportMenu::contentAfter`
17+
- (enh #162): Disable page summary validation and rendering for `yii2-export`.
1718

1819
## version 1.3.8
1920

src/ExportMenu.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ public function run()
836836
*/
837837
protected function initSettings()
838838
{
839+
$this->showPageSummary = false; // force disable page-summary for `ExportMenu` (issue #162)
839840
$this->_msgCat = 'kvexport';
840841
if (empty($this->options['id'])) {
841842
$this->options['id'] = $this->getId();

0 commit comments

Comments
 (0)