Gridrowfunction

From Plex-XML
Jump to: navigation, search

The gridrowfunction-Element works like the gridrowonclick or the gridrowbutton. But it generates only the function-call. It could be used to embed functions in customized grid-rows.

Example

<!-- Definition -->
<gridrowfunction>
 <xsl:call-template name="onClickNewWindow">
  <xsl:with-param name="param">
   <formName>SetTagD</formName>
   <param value="{$TagTableTable}">Table</param>
   <param value="{$TagTableForeignKey}">FKey</param>
   <action>P</action>
   <realWin>false</realWin>
   <width>450</width>
   <height>330</height>
  </xsl:with-param>
 </xsl:call-template>
</gridrowfunction>

...

<!-- Call in custom-grid-row-->
<a href="#" onclick="Functions.oSetTagDP(this,'<xsl:value-of select="$vTagTableTable"/>',
 '<xsl:value-of select="$vTagTableForeignKey"/>','0');return false;">

...
Personal tools