The GEOSS Discovery And Access Broker APIs
Authors: Fabrizio Papeschi, Mattia Santoro, Stefano Nativi
API version: 1.4.3-beta

ResultSetLayout

Module: UI

A ResultSetLayout displays the renderable nodes of the current page in the ResultSet arranging them in a <table>; each column contains a node. By default each <table> row displays a single column; the maximum number of column in a row can be set with the columnCount option.
If the ResultSet extension provides more than one result set, this tool creates a tab for each result set <table>. The label of each tab provides the term identified by the "semantic engine" used to generate the correspondent result set.

In order to be rendered, the UINode class must be registered by adding its reference to the uiNodes array. For details and examples about registration and rendering of the nodes, see this section.

If the optional options.mapWidget, options.pagWidget and options.tfWidget instances are provided, their update method is called during the layout updating.

As well as the documented properties, all the additional options property are passed as argument to each renderable node constructor.

For CSS personalization, see the resultset-layout-table class of the API CSS file

Constructor

ResultSetLayout

(
  • id
  • [options]
)

Parameters:

Item Index

Methods

Methods

update

(
  • response
)

Updates the layout according to the provided discover response

Parameters: