In reply to: Dariusz Tułacz
Could you please provide a solution for a specific table by referring to the following?
document.querySelectorAll('.header-cell__name-value').forEach(h => { h.style.textAlign='center' })
Hi Dariusz,
if you want to apply this styling only to a single item list or even one column in this, I would add an html field using this css:
#SubElems_#{WFCON:384}# th
{
text-align:center;
}
#SubElems_#{WFCON:384}# th[data-key="#{SFLD:36}#_#{DCN:36}#"]
{
text-align:left;
}
Adding the id of the item list will restrict the styling to all children of this item list.
Adding the attribute selector with data-key, will restrict the style of a table header to a single column.
This was tested in 2023.1.2.99. Depending on your version the html may look different.
Best regards,
Daniel