Skip to content

Instantly share code, notes, and snippets.

Combine multiple ajax permission calls into one.

Depending on how larger your tables are, and how large the latency between you and the server, the UI speed increases can be quite dramatic.

Add the following function to astpp/assets/js/module_js/generate_grid.js around line 360

function build_buttons_multi(buttons_arr) {
    var jsonObj = []; //declare object
    if (buttons_arr == "") {
        return jsonObj;