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
I would like to be able to disable the copy of the headers when calling the copyToClipboard method, but only in some cases.
Currently, the clipboardCopyConfig is passed to the Tabulator constructor and cannot be updated dynamically or overridden when calling the clipboard methods.
Although my current need only applies to the headers, I think it would be wise to extend any improvements to the global clipboard configuration object.
Desired solution
Ideally, I would like to pass options to the copyToClipboard method, that would override the default ones that were passed to the Tabulator constructor.
Alternative solution
Another way, a bit less practical in my case, but still acceptable, would be to allow a callback function for the options of the clipboardCopyConfig.
Additional context
This feature request was initially discussed on Discord and was opened here following Oli's comment:
That isn't possible currently, that is certainly something that could be added. If you would like to see that functionality please raise a feature request on the GitHub repo
The text was updated successfully, but these errors were encountered:
Use case
I would like to be able to disable the copy of the headers when calling the
copyToClipboard
method, but only in some cases.Currently, the
clipboardCopyConfig
is passed to the Tabulator constructor and cannot be updated dynamically or overridden when calling the clipboard methods.Although my current need only applies to the headers, I think it would be wise to extend any improvements to the global clipboard configuration object.
Desired solution
Ideally, I would like to pass options to the
copyToClipboard
method, that would override the default ones that were passed to the Tabulator constructor.Alternative solution
Another way, a bit less practical in my case, but still acceptable, would be to allow a callback function for the options of the
clipboardCopyConfig
.Additional context
This feature request was initially discussed on Discord and was opened here following Oli's comment:
The text was updated successfully, but these errors were encountered: