element <gridRowModel>
Namespace: |
http://schema.caplin.com/CaplinTrader/gridDefinitions |
XML Representation Summary |
<gridRowModel
|
|
|
= |
xs:string |
|
= |
("live" | "snapshot") : "snapshot"
|
|
= |
xs:boolean : "true"
|
|
|
> |
|
|
</gridRowModel>
|
Child elements (7):
-
Parent elements (2):
-
Description
Contains information about the type of row model and data provider that populates the grid.
A grid must have a <gridRowModel> defined for it, either in its <grid> tag, or in a <grid>
or <gridTemplate> from which it inherits. The name of a data provider tag (such as
<webServiceGridDataProvider>) is the logical name of the data provider as specified in the
id attribute of a <dataProviderMapping>.
The mapping id value and data provider tag name must be prefixed with the namespace
required by the bladerunner architecture.
groupBy
-
Type: |
xs:string, predefined
|
Use: |
optional |
To group rows of the grid when the grid is initially displayed, specify the field that you want to
group the rows by.
For row grouping to render correctly, the rows must also be ordered by the same field that they will
be grouped on. Rows can either be ordered at the DataSource, or by specifying a <sortRule> tag in
the grid XML configuration.
Rows in the grid will have a blank row at the head of each group unless a group header decorator is
included in the XML configuration. A group header is specified using the <groupHeaderDecorator> tag.
If the value of this attribute is set to 'none' then the rows of the grid will not be grouped, even if
'groupBy' attributes are inherited from other grids or grid templates.
serializeFilters
-
Type: |
xs:boolean, predefined
|
Use: |
optional |
Default: |
"true" |
A flag that determines whether filters applied by the end user are serialised when the grid is serialised.
A grid is serialised when the end user saves the layout containing the grid. Valid values are
"true" (serialise user applied filters) and "false" (do not serialise user applied filters).
transformMode
-
Type: |
anonymous simpleType (restriction of xs:token)
|
Use: |
optional |
Default: |
"snapshot" |
If a grid has been sorted or filtered, the transformMode determines whether or not a row is displayed in its new position
when the values in the sorted or filtered column change.
Valid values are "live" (move the row to its new position in the grid), and "snapshot" (keep the row in its present position).
This does not affect the values that are displayed in the rows of the grid, only the position and visibility of these rows.