Possible bug when using is() in exportOptions

Possible bug when using is() in exportOptions

lenamtllenamtl Posts: 265Questions: 65Answers: 1
edited November 2017 in Free community support

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

Answers

This discussion has been closed.