GridcolLink
From Plex-XML
The gridcolLink template is used to define a Hyperlink in a grid cell.
Don't forget! To show a grid cell as hyperlink you need to change the shape of that cell to Hyperlink.
Contents |
Element
<gridcolLink>
Attributes
- onclick: onclick-Event that is executed when you click on that link
- text: Text that should be shown in the cell
- title: Title/hint that is displayed on a mouseover-Event
Example
gridcolLink in the Description column
<xsl:template name="gridcolLink">
<xsl:variable name="key"><xsl:value-of select="@unformatted"/></xsl:variable>
<xsl:choose>
<xsl:when test="$key!='' and @implname='Group'">
<gridcolLink>
<xsl:attribute name="title">title</xsl:attribute>
<xsl:attribute name="text"><xsl:value-of select="$key"/></xsl:attribute>
<xsl:call-template name="onClickNewWindow">
<xsl:with-param name="param">
<formName>FooForm</formName>
<param value="{$Group}">Group</param>
</xsl:with-param>
</xsl:call-template>
</gridcolLink>
</xsl:when>
</xsl:choose>
</xsl:template>