Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dynamic defaults #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 16, 2023

  1. Add dynamic defaults

    Useful for retrieving default values from Ajax or for defining certain parameters using a function) :
    ```js
    $.fn.dataTable.defaults = function(){
        myDefault = $.extend({}, $.fn.dataTable.defaults, { "serverSide": true });
        myDefault.stateSave = getFromAjax($(this).attr("id"), "stateSave");
        return myDefault;
    }
    ```
    manusfreedom authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    258e14a View commit details
    Browse the repository at this point in the history