--- title: "Tag Spaltenrenderer" slug: "cell-renderer-type-tag-renderer" updated: 2026-02-17T10:17:42Z published: 2026-02-17T10:17:42Z canonical: "docs.lobstersoftware.com/cell-renderer-type-tag-renderer" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Tag Spaltenrenderer Der Tag-Renderer bietet die Möglichkeit Zelleninhalte als Tag (![images/download/attachments/78265060/image2020-8-6_11-25-39-version-1-modificationdate-1632900304659-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2020-8-6_11-25-39-version-1-modificationdate-1632900304659-api-v2.png) ) in einer bestimmten Farbe und mit optionalem Icon darzustellen. Dafür können sowohl die Farbe als auch das Icon als [Berechnungsausdruck](/v1/docs/core-raw-parser) ausgewertet werden. ![images/download/attachments/78265060/image2022-7-29_9-4-37-version-1-modificationdate-1659078278040-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-7-29_9-4-37-version-1-modificationdate-1659078278040-api-v2.png) Der Eingabewert der Ausdrücke ist dabei nicht der Wert der Zelle (Datenfeld Spalte), sondern der gesamte Zeileneintrag. Die Tagbeschriftung wird dabei über den Beschriftungsausdruck der Zelle definiert. Für den Icon- und Farbausdruck steht dabei der Zellenwert als Variable "columnValue" und die Wertbeschriftung als Variable "columnLabel" zur Verfügung ($var(columnValue), $var(columnLabel)). Als errechneter Farbwert wird sowohl die Hexadezimaldarstellung (ff0000 für Rot) als auch die Dezimaldarstellung (16711680 für Rot) akzeptiert. **HINWEIS:** Die Hexadezimaldarstellung kann sowohl ein "#", "0x" oder nichts voranstellen. Die Farbe der Beschriftung nimmt abhängig vom Hintergrundfarbwert entweder Weiß oder Schwarz an. Mit der Option "**Tag auf Spaltenbreite strecken**" werden die Tags entsprechend auf die Breite der Zelle gestreckt. ## Tag Kontrastfarbenmodus Der Kontrastmodus der Tagfarbe (Hintergrund v.s. Schriftfarbe) wird standardmäßig über den [Styles](/v1/docs/core-style) Eintrag "tagContrastColorMode" festgelegt, kann jedoch in der Layout Sektion pro Label Element überschrieben werden. Mögliche Werte: - Leer - Wert wird aus dem [Styles](/v1/docs/core-style) Eintrag "tagContrastColorMode" übernommen - Standard - Farbe wird als Hintergrundfarbe gesetzt. Die Schriftfarbe ist, abhängig vom Farbton des Hintergrunds, Schwarz oder Weiß. - Vordergrund - Farbe wird als Hintergrundfarbe gesetzt. Die Schriftfarbe wird dynamisch als hellere/dunklere Version der Hintergrundfarbe errechnet. - Hintergrund - Farbe wird als Schriftfarbe gesetzt. Die Hintergrundfarbe wird dynamisch als hellere/dunklere Version der Schriftfarbe errechnet. Beispiele für den Kontrastmodus (Vordergrund v.s. Hintergrund): | Farbwert | Standard | Vordergrund | Hintergrund | | --- | --- | --- | --- | | #980F45 | ![images/download/attachments/78265060/image2021-9-22_13-59-42-version-1-modificationdate-1632900367329-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_13-59-42-version-1-modificationdate-1632900367329-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_13-56-42-version-1-modificationdate-1632900367342-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_13-56-42-version-1-modificationdate-1632900367342-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_13-57-41-version-1-modificationdate-1632900367351-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_13-57-41-version-1-modificationdate-1632900367351-api-v2.png) | | #23d323 | ![images/download/attachments/78265060/image2021-9-22_14-3-58-version-1-modificationdate-1632900367362-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-3-58-version-1-modificationdate-1632900367362-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_14-4-51-version-1-modificationdate-1632900367372-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-4-51-version-1-modificationdate-1632900367372-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_14-5-17-version-1-modificationdate-1632900367382-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-5-17-version-1-modificationdate-1632900367382-api-v2.png) | | #40b3a2 | ![images/download/attachments/78265060/image2021-9-22_14-6-55-version-1-modificationdate-1632900367392-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-6-55-version-1-modificationdate-1632900367392-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_14-7-17-version-1-modificationdate-1632900367402-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-7-17-version-1-modificationdate-1632900367402-api-v2.png) | ![images/download/attachments/78265060/image2021-9-22_14-7-42-version-1-modificationdate-1632900367410-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2021-9-22_14-7-42-version-1-modificationdate-1632900367410-api-v2.png) |