LassoScript Utility
Basics Browse Detail

[Sort_ColumnItem]

Tag Link [Sort_ColumnItem] Category Results
Type Substitution Source Available No
Support Synonym Version 5.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

When used within the [Sort_Arguments] ... [/Sort_Arguments] container tags, [Sort_ColumnItem] displays the name of one sort argument.

Syntax

[Sort_Arguments]
  [Sort_ColumnItem]
[/Sort_Arguments]

Parameters

Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.

Examples

To display the columns used to sort the current database action:

Use the [Sort_Arguments] ... [/Sort_Arguments] tags with enclosed [Sort_FieldItem] and [Sort_OrderItem] tags. The following example shows the results from a search that is sorted by Last_Name and First_Name in ascending order.

[Sort_Arguments]
  <br>[Sort_ColumnItem] [Sort_OrderItem]
[/Sort_Arguments]

<br>Last_Name ascending
<br>First_Name ascending