Skip to content

Commit

Permalink
exporting-data-striped
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYamous authored Oct 17, 2024
1 parent 4f4d2d7 commit bf3023d
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 bf3023d

Please sign in to comment.