You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,13 @@ Property | Description
74
74
`startColumn` (optional) | The start column name or its 0-based index. When this is set, the 0-based offset is added to all numeric keys used anywhere in this class. Columns referenced by name will stay unchanged. Default is 'A'.
75
75
`startRow` (optional) | The start row. Default is 1.
76
76
77
+
78
+
Event | Description
79
+
---------|-------------
80
+
`beforeRender` | Triggered before the sheet is rendered. The sheet is available via `$event->source->getSheet()`.
81
+
`afterRender` | Triggered after the sheet was rendered. The sheet is available via `$event->source->getSheet()`.
82
+
83
+
77
84
### ActiveExcelSheet
78
85
79
86
The class extends from `ExcelSheet` but differs in the following properties:
@@ -290,3 +297,24 @@ $file = \Yii::createObject([
290
297
]);
291
298
```
292
299
300
+
### Events
301
+
302
+
Since version 2.3.5 there are new events which make it easier to further modify each sheet.
0 commit comments