Jump to content

Sort Portals by clicking on field header link?


Bryan VonDeylen

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have an xsl template that displays a record detail with a portal table.

The portal table has 5 columns. I would like the user to be able to sort by column by clicking on the header link, but I don't know if it is possible to sort on portals.

If it is possible, what would the syntax be to sort by a portal column?

I tried this but it didn't work

xsl:if test="fmrs:resultset/@fetch-size != 0"/>

td valign="top" class="class">

a>

xsl:attribute name="href">

xsl:variable name="sort">

xsl:text disable-output-escaping="yes">browserecord.xsl?

xsl:text>-db=Tradebook+Titles&-lay=Entry&

xsl:text>-sortfield.1=Reserves::Name&-sortorder.1=ascend

/xsl:variable>

xsl:value-of select="fmxslt:session_encode_url($sort)"/>

/xsl:attribute>

b>Name/b>

a>

Link to comment
Share on other sites

  • 1 month later...

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.