()
| 97 | } |
| 98 | |
| 99 | processTableHeaders() { |
| 100 | // Store date column information |
| 101 | this.dateColumns = new Map() |
| 102 | |
| 103 | // Process table headers |
| 104 | const table = document.querySelector("table.scrollTable") |
| 105 | const headers = table.querySelectorAll("th") |
| 106 | |
| 107 | headers.forEach((header, index) => { |
| 108 | const originalText = header.textContent |
| 109 | if (originalText.startsWith("last")) { |
| 110 | // Store the column index and the new name (without 'last') |
| 111 | const newName = originalText.slice(4) // Remove 'last' prefix |
| 112 | this.dateColumns.set(index, newName) |
| 113 | header.textContent = newName |
| 114 | } |
| 115 | }) |
| 116 | } |
| 117 | |
| 118 | createColumnDefs() { |
| 119 | const columnDefs = [] |
no test coverage detected