Possible bug when using is() in exportOptions
Possible bug when using is() in exportOptions

Hi,
I'm trying to use is() in exportOption columns...
not() is working fine but when using is() I'm getting this error
Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo: is
exportOptions: {
columns: [':is(.mytest):not(.not-export-col):not(.hidden)'],
}
"bProcessing": true,
dom: 'Blfrtip',
buttons: [
{
extend: 'colvis',
collectionLayout: 'two-column',
columns: [':visible:not(.not-export-col)'],
},
{
extend: 'excelHtml5',
exportOptions: {
columns: [':is(.mytest):not(.not-export-col):not(.hidden)'],
}
},
],
Any clue?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
jQuery doesn't have an
:is
pseudo selector - at least not that I can see in the documentation.Have you tried just:
Allan
Oh I see.
I have tried your solution and it's working great
Thanks