![]() ![]() |
The Column element describes one column within a table or grid. If an element refers to a column that does not exist, BIRT creates the column implicitly as a variable-width column. You define columns to aid in report layout. Each column element defines one or more adjacent columns in a table. The column definition section is optional. If there is no column definition, BIRT computes the set of columns from the table bands.
Does not extend any element
None
backgroundAttachment, backgroundColor, backgroundImage, borderBottomColor, borderBottomStyle, borderBottomWidth, borderLeftColor, borderLeftStyle, borderLeftWidth, borderRightColor, borderRightStyle, borderRightWidth, borderTopColor, borderTopStyle, borderTopWidth, canShrink, color, display, fontFamily, fontSize, fontStyle, fontVariant, fontWeight, letterSpacing, lineHeight, marginBottom, marginLeft, marginRight, marginTop, masterPage, paddingBottom, paddingLeft, paddingRight, paddingTop, pageBreakAfter, pageBreakBefore, showIfBlank, textAlign, textIndent, textLineThrough, textOverline, textTransform, textUnderline, verticalAlign, whiteSpace, wordSpacing
The following sections describe the properties of the Column element.
The number of adjacent columns described by this element. A table often has a series of columns with an identical format. For example, an accounting report may display debits in one column and credits in another. This property is a convenience to allow defining the column attributes once, and apply them to a set of adjacent columns.
Name of the style applied to this column. A column can use the style defined for the grid as a whole, or it can define a separate style. You can use this for such functions as creating a distinct border around the column or for using a different background color. Column provides many style properties. A column can inherit its style properties from a parent element, from a named style, or from a style that identifies the context in which the item appears. This property provides the name of the shared style to use.
Column can set the value of style properties. Properties set on this element override those inherited from a parent element or a shared style.
The width of the column. A column can be variable width or fixed width. If the width of a column is omitted, BIRT automatically computes the width based on the content of the table.
Widths can be absolute, such as 1 inch, or relative, such as 20%. Widths are entered using the CSS dimension system.
![]() ![]() |