Previous Topic: Applying Styles to Rows, Columns and CellsNext Topic: More <column> Attributes


Optional Columns in the Results

It is possible to define some of the results columns as optional. The columns required can then be selected from the Search Properties page. Optional columns may be defined as initially shown or initially hidden.

Columns are defined as optional by including the 'display' attribute in the column definition. When set to true, the optional column will be included in the results by default, when set to false, the column will not be included by default. If the display attribute is not given, the column is mandatory and will always be included in the results.

Note: All optional columns must be given a width. If only the columns initially displayed are given widths, and these add up to 100%, then the other optional columns could be displayed with zero width. The total column widths can exceed 100% and will be scaled accordingly.