Загрузка данных


var accountTypeId = new URLSearchParams(window.location.search)
    .get("accountTypeId") || "";

var accountTypeGroupTable = new QueryTable("account_type_group", {
    onRowSelect: function (data, index) {
        accountTypeTable.reload();
    },
    onRowDeselect: function (data, index) {
        accountTypeTable.reload();
    },
    drawCallback: function (settings) {
        accountTypeTable.reload();
    }
}, function () {
    return {
        accountTypeId: accountTypeId
    };
});