Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Top down / left right column in entity.grid

  1. #1
    UNLGroup is offline Senior Member
    Join Date
    Dec 2007
    Posts
    144

    Default Top down / left right column in entity.grid

    Is there an example of a top down / left right column setup in entity.grid.xml

    Right now, for 2 columns, it's displaying a left right / top down structure using the code below.

    Could someone let me know how to change this (Which might as well be Greek) to display it top down / left right.

    Code:
     
    <xsl:if test="position() mod $SubcatGridCols = 1 and $SubcatGridCols &gt; 1">
       <tr>
          <xsl:for-each select=". | following-sibling::*[position() &lt; $SubcatGridCols]">
                   <xsl:call-template name="ProductCell"></xsl:call-template>
                         </xsl:for-each>
                            <xsl:if test="ceiling(position() div  number($SubcatGridCols)) = $rows and $delta &gt; 0">
                                <xsl:call-template name="FillerCells">
                                    <xsl:with-param name="cellCount" select="$delta" />
                                </xsl:call-template>
                            </xsl:if>
                        </tr>
                    </xsl:if>
    Thanks for the ideas.

  2. #2
    UNLGroup is offline Senior Member
    Join Date
    Dec 2007
    Posts
    144

    Default

    Still playing around with this one.

    Any ideas?