SearchPanes button disables cascade

SearchPanes button disables cascade

nessunluogonessunluogo Posts: 2Questions: 1Answers: 0

I'm trying this setting:

    var table = $('#datatable').DataTable({
        buttons:[
            'searchPanes'
        ],
        searchPanes:{
            cascadePanes: true
        },
        dom: 'Bfrtip',
        responsive: true
    });

But cascade won't work. Disabling button (and changing dom: 'Pfrtip'), cascading work.

Can I use both button and cascade options together?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,167Questions: 26Answers: 4,921
    Answer ✓

    See if this thread helps. I haven't tried the latest version but maybe you need to upgrade.

    Kevin

  • nessunluogonessunluogo Posts: 2Questions: 1Answers: 0

    Thanks kthorngren! I was using latest version through CDN but I had to switch to nightly as in one of linked examples.

    I also found useful the buttons section where specific options are set for searchPanes:

            buttons:[
                {
                    extend: 'searchPanes',
                    config: {
                        cascadePanes: true
                    }
                }
            ],
    

    I hope this can help others.

This discussion has been closed.