Convert alert-schedule to new style

Improved sorting customization
This commit is contained in:
Tony Murray
2020-04-11 18:03:19 -05:00
parent 89bfecc926
commit d4ce98a5d9
6 changed files with 139 additions and 97 deletions

View File

@@ -77,12 +77,7 @@ var grid = $("#alert-schedule").bootgrid({
"<div class=\"col-sm-4 actionBar\"><p class=\"{{css.search}}\"></p><p class=\"{{css.actions}}\"></p></div></div></div>"
},
rowCount: [50, 100, 250, -1],
post: function () {
return {
id: "alert-schedule",
};
},
url: "ajax_table.php"
url: "ajax/table/alert-schedule"
}).on("loaded.rs.jquery.bootgrid", function() {
/* Executes after data is loaded and rendered */
grid.find(".command-edit").on("click", function(e) {