Grid Tags

Grids are used by central or overview pages and can be defined in a tab or elements block. A grid is defined by using the grid tag with additional tags contained between an open { and close } brace.

Tag

Examples

Status

Notes

grid

grid {

row "Cases"

row "Cost"

}

 

grid id = "grd-dimensions" {

row {

text column = "Cases Count"

}

row {

text column = "Cost Count"

}

}

Required Defines a grid block by specifying rows from a cPlan and the strings for those rows.
alert

alert "Alert" {

value column = "Cases"

low-threshold 1000

high-threshold 100000

}

Optional

Defines an alert based on the named column and thresholds.

background-color background-color "123abc" Optional Sets the background color of the grid. Color is written as a hexadecimal code.
border border Optional Applies a border to the grid block area.
bullet

bullet column = "Cases" {

title "Bullet"

bar-color "123abc"

}

Optional

Defines a bullet based on the named column.

column-set

column-set id = "cs-grid" {

text column = "Cases"

text column = "Cost"

text column = "Net Sale"

}

Optional

Defines a column-set block, which are previously defined sets of columns in a definitions block.

Within a grid block, a column-set cannot include an expand-set.

cplan cplan "/cplans/test.cplan" Optional

Indicates the data source. Can include filters.

If a cPlan is not defined, the grid uses the cPlan that is defined for the containing block.

percent

percent = 50

percent = 85

Optional

Identifies the percentage of the display layout allocated for the element.

NOTE: The total percentage must equal 100.

row

row "Cost"

 

row {

text column = "Cost Count"

}

Required

Defines a row for a grid block. A row can contain only one summary value.

Within an hsplit tag, the rows show left to right; within a vsplit tag the rows still show left to right.

Can include an alert, bullet, column-set, or text-column.

text column

row {

text column = "Cases" {

justification "left"

link {

page id = "rp-grid"

}

}

}

Optional

Identifies which summary column the row is referring to.

When used in a grid block, the content can be justified, or include a link, or both.

See also: