Print export and column selector with ':not' shift column classes

Print export and column selector with ':not' shift column classes

rmaurormauro Posts: 1Questions: 1Answers: 0

I think I've found a bug when using the print button with the export options set to exclude certain columns via a column-selector like ':not(<class>)'.
Reproduced in JSBin here: http://live.datatables.net/mamepafu/1/edit?html,css,js,output .
First column (Name) has a noExport class applied which sets color to red.
When printing, columns with class noExport are ignored by setting the exportOptions.column: ':not(.noExport)'.
First column is correctly missing, but the class noExport is now applied to the Surname column.

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.