Skip to content

Commit

Permalink
add documentation for stripTags() function
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYamous authored Nov 1, 2024
1 parent e97f90e commit 1f6a408
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/table-features/exporting-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,23 @@ ID|Dish|Price

---

### stripTags()

If you're using HTML when [formatting your data](/table-component/data-source-fields.html#formatting-data-examples), this allow to automatically strip HTML tags from file content when exporting, default to `false`.

| Parameters | Description |
|------------------------|---------------------------|
| (boolean) $value | Strip tags when exporting |

Example:

```php
PowerGrid::exportable('my-export-file')
->stripTags(true),
```

---

### csvDelimiter()

See the [csvSeparator()](/table-features/exporting-data.html#csvseparator) example.
Expand Down

0 comments on commit 1f6a408

Please sign in to comment.