Amélioration présentation colonnes non triables
This commit is contained in:
parent
849dcf00c9
commit
cd4220546e
3 changed files with 10 additions and 1 deletions
|
|
@ -18,6 +18,10 @@ function disableColumSort(liste) {
|
|||
anchor.removeAttribute("href");
|
||||
anchor.removeAttribute("title");
|
||||
anchor.removeChild(anchor.firstElementChild);
|
||||
let headerClass = titles[i].getAttribute("class");
|
||||
if (headerClass == null) { headerClass = ""; }
|
||||
headerClass += "nosort";
|
||||
titles[i].setAttribute("class", headerClass);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue