From: Jean-Marc Pigeon Date: Mon, 15 Dec 2025 03:35:39 +0000 (-0500) Subject: Able to indcate selected colunm, by background change X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=9a9e86ae03d5df0b73035d3f3d5c0220ec558831;p=jmp%2Fmailleur Able to indcate selected colunm, by background change --- diff --git a/www/coloration.js b/www/coloration.js index baba211..1468c03 100644 --- a/www/coloration.js +++ b/www/coloration.js @@ -10,7 +10,7 @@ const limitSelect = document.getElementById("limitSelect"); // Header click pour multi-colonnes document.querySelectorAll(".filter-col").forEach(th=>{ th.addEventListener("click",()=>{ - const col = th.dataset.col; + const col = th.getAttribute("trkey"); if (columns.includes(col)){ columns = columns.filter(c=>c!==col); th.classList.remove("active"); diff --git a/www/gesdis.php b/www/gesdis.php index b6336e0..2ed3dfe 100644 --- a/www/gesdis.php +++ b/www/gesdis.php @@ -186,6 +186,7 @@ $STR = <<Mailleur WEB Interface +