filters working

adding sorting
This commit is contained in:
2026-03-01 16:23:58 +10:00
parent e64b644b33
commit 4b6d65a946
7 changed files with 166 additions and 150 deletions

View File

@@ -27,7 +27,8 @@ const createHeaderRow = (headers) => {
const tr = document.createElement('tr');
headers.forEach(header => {
const th = document.createElement('th');
th.innerHTML = header;
th.innerHTML = header.slice(0,1).toUpperCase()+header.slice(1);
tr.append(th);
});
const thead = document.createElement('thead')