Previous Topic: Adjusting the DisplayNext Topic: Applying Styles to Rows, Columns and Cells


Configuring the Search Results Layout

The <results> element of the search definition file should define, for each column, its name and type. It's also useful to specify a label to be used as the column heading as this is generally more user-friendly than the column name:

<results>
     <column
          name="event_uid"
          type="id"
          label="Event ID"
     />
     <column
          name="title"
          type="text"
          label="E-Mail Title"
     />
</results>

The column name must match the name in the SP, and each column type must be compatible with the database type. For details about the <column> element and its attributes, see XML Elements.

Note: If no columns are defined in the search definition the columns will be derived from the results returned from the stored procedure.

This section contains the following topics:

Applying Styles to Rows, Columns and Cells

Optional Columns in the Results

More <column> Attributes

Actions When a Row Is Clicked

Multiple Row Operations