It would be nice, if we could select export buttons we want to use with particular Datatable decoration. For example, I don't want to use PDF button, because it doesn't work with UTF-8 strings properly.

Comments

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Postponed

Hi Milos,
Yes I agree. But I'm not sure the underlying DataTables JS library offers that level of configuration. I haven't checked, but if it doesn't have this config option, then we'd have to request that feature in the DataTables JS project first (https://datatables.net/forums/discussions), before it can be passed on to the Drupal console.
Rik

rdeboer’s picture

Also... would a CSS display:none on a well-targeted element wrapper do the trick of suppressing certain buttons?

milos.kroulik’s picture

Yes, that would do the trick, but it certainly wouldn't be cleanest approach imaginable.

rdeboer’s picture

Status: Postponed » Closed (won't fix)