• Resolved jscmal

    (@jscmal)


    Hi,
    I would know what is the default settings for the “DataTables defaults object” that the plugin adds in the DB with a new installation.

    I ask because I have seen that I have different settings on my websites. So, I am not sure what is the default.

    In one website I have:

    {
        "dom": "B<'clear'>lfrtip",
        "buttons": [
            "colvis",
            "copy",
            "csv",
            "excel",
            "pdf",
            "print"
        ]
    }

    Instead, on another website, I have this:

    {
        "dom": "TC<'clear'>lfrtip"
    }

    I have not idea how they work of which one is the default setting.

    Could you show me the default code for the “DataTables defaults object”?

    Kind regards

    G. Aloe

    • This topic was modified 7 years, 7 months ago by jscmal.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jscmal

    (@jscmal)

    Another thing that is still not clear to me, having these settings

    {
        "dom": "B<'clear'>lfrtip",
        "buttons": [
            "colvis",
            "copy",
            "csv",
            "excel",
            "pdf",
            "print"
        ]
    }

    is why if I add in the shortcode:

    datatables_dom="false"

    this removes all the buttons and also the paginations and sorting etc etc

    Instead, if I add in the shortcode

    datatables_dom="lfrtip"

    this removes only the buttons.

    For example, I have not clear what means

    "dom": "B<'clear'>lfrtip",

    What is the “B”?

    Would you give me some clarifications?

    kind regards

    G. Aloe

    Plugin Author Meitar

    (@meitar)

    Would you give me some clarifications?

    Read the DataTables documentation for the options you are using?

    Plugin Author Meitar

    (@meitar)

    Could you show me the default code for the “DataTables defaults object”?

    See the code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘DataTables defaults object’ is closed to new replies.