-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
- Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1.62
What version of Laravel are you using?
11.36.1
What version of PHP are you using?
8.3.17
Describe your issue
When using WithMultipleSheets, only WithDefaultStyles, WithStyles on the outer class works.
// outer.php
class DemoSheets implements
WithMultipleSheets,
WithDefaultStyles,
WithStyles
{
public function sheets(): array
{
return [ new DemoTab() ];
}
}
// inner.php
class DemoTab implements
WithDefaultStyles,
WithStyles
{
}How can the issue be reproduced?
Can be reproduceable as descibed above.
The function styles and function defaultStyles in DemoSheets works, but the functions in DemoTab is never invoked.
What should be the expected behaviour?
Styles in tabs can also work as that perform in single tab exporting process.