This article covers the usgroup() function as part of the UI Library.
The UI Library is a mixed bag of Javascript extensions for programming UI controls in USoft web pages. Do not confuse with the structured UDB object model for data exchange between USoft web pages and a Rules Engine.
The usgroup() function is a framework-independent function. It creates a bordered box with a header text in a framework-independent fashion:
Returns the HTML element.
Syntax
.usgroup( options )
options ::= { header: header-text }
Options is an optional struct that can have the following items, all of which are optional.
Header-text is a string value that contains the header text displayed across the top of the bordered box. Header-text may contain HTML instead of just plain text.
Example
var $singleRecord = $('SingleRecordResultGroup');
$singleRecord.usgroup({header: "Record details"});