Show number of rows rendered for custom sql query

This commit is contained in:
Dan Sosedoff
2017-02-25 14:04:48 -06:00
parent 7882abea35
commit 36fd4871e1
4 changed files with 20 additions and 6 deletions

View File

@@ -303,6 +303,9 @@ function buildTable(results, sortColumn, sortOrder, options) {
});
$("<thead>" + cols + "</thead><tbody>" + rows + "</tobdy>").appendTo("#results");
// Show number of rows rendered on the page
$("#result-rows-count").html(results.rows.length + " rows");
}
function setCurrentTab(id) {