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
By default, the filename will be `data.type`. I.e. `data.pdf`, `data.csv`.
335
+
By default, the filename will be `data`.*type*. I.e. `data.pdf`, `data.csv`.
336
336
337
337
You can change the filename with the `$exportFileName` class property.
338
338
@@ -342,15 +342,15 @@ You can change the filename with the `$exportFileName` class property.
342
342
343
343
You have a couple option on exporting information. By default, if not defined at all, all columns will be exported.
344
344
345
-
If you have a column that you want visible to the UI, but not to the export, you can chain on `->excludeFromExport()`
345
+
If you have a column that you want visible to the UI, but not to the export, you can chain on `excludeFromExport()`
346
346
347
-
If you have a column that you want visible to the export, but not to the UI, you can chain on `->exportOnly()`
347
+
If you have a column that you want visible to the export, but not to the UI, you can chain on `exportOnly()`
348
348
349
349
#### Formatting column data for export
350
350
351
351
By default, the export will attempt to render the information just as it is shown to the UI. For a normal column based attribute this is fine, but when exporting formatted columns that output a view or HTML, it will attempt to strip the HTML out.
352
352
353
-
Instead, you have available to you the `->exportFormat()` method on your column, to define how you want this column to be formatted when outputted to the file.
353
+
Instead, you have available to you the `exportFormat()` method on your column, to define how you want this column to be formatted when outputted to the file.
354
354
355
355
So you can have a column that you want both available to the UI and the export, and format them differently based on where it is being outputted.
356
356
@@ -373,7 +373,7 @@ class UsersTable extends TableComponent
0 commit comments