yadcf with buttons nad bootstrap

yadcf with buttons nad bootstrap

cvelle89cvelle89 Posts: 7Questions: 6Answers: 0

Hello, I have some issues about creating fully yadcf datatable with all functionalities.

[code]
$(document).ready(function () {
'use strict';

    t = $('#example').DataTable({
        //"iDisplayLength": 1000,
        //dom: 'Bfrtip',
        //buttons: [
        //    'copy', 'csv', 'excel', 'pdf', 'print'
        //],
        "bJQueryUI": true,
        "bProcessing": true,
        "sPaginationType": "full_numbers",
        "columnDefs": [
            {
                "targets": [0],
                "visible": false,
                "searchable": false
            },
            { "width": "200px", "targets": 6 }
        ]
    });
    yadcf.init(t,
        [{
            column_number: 0,
            filter_type: "multi_select",
            select_type: 'select2'
        },
            //{
            //    column_number: 1,
            //    filter_type: "multi_select",
            //    select_type: 'select2'
            //},
            {
                column_number: 2,
                filter_type: "auto_complete",
                text_data_delimiter: ","
            },
            {
                column_number: 3,
                filter_type: "multi_select",
                select_type: 'chosen'
            }
        ]
    );

[/code]

from some reason, it want me show all filters.

Thanks.

This discussion has been closed.