Skip to content

Commit

Permalink
Merge pull request #121 from MrYamous/exporting-data
Browse files Browse the repository at this point in the history
Exporting data striped typo and default value
  • Loading branch information
luanfreitasdev authored Oct 17, 2024
2 parents 4f4d2d7 + bf3023d commit cad1fc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/table-features/exporting-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ This feature is only available for XLS files.

You can add stripped row style to your outputted file style using the `striped()` and passing the `$color` with a color hex code.

If used without passing a color, `d0d3d8` is used by default.

Example:

```php
Expand All @@ -157,7 +159,7 @@ class DishTable extends PowerGridComponent
public function setUp(): array
{
PowerGrid::exportable(fileName: 'my-export-file') // [!code ++:2]
->stripe('A6ACCD'),
->striped('A6ACCD'),
}
}
```
Expand Down

0 comments on commit cad1fc7

Please sign in to comment.