NetUI Tag Library Documentation (Version 1.0.1)

netui-data
netui-data:header Tag

The Header tag is used to render a table row(s) before the data grid has rendered data rows as demarcated by the <netui-data:rows> tag.

Syntax

<netui-data:header
    [align="string_align"]
    [char="string_alignChar"]
    [charoff="string_alignCharOff"]
    [dir="string_dir"]
    [lang="string_lang"]
    [onClick="string_onClick"]
    [onDblClick="string_onDblClick"]
    [onKeyDown="string_onKeyDown"]
    [onKeyPress="string_onKeyPress"]
    [onKeyUp="string_onKeyUp"]
    [onMouseDown="string_onMouseDown"]
    [onMouseMove="string_onMouseMove"]
    [onMouseOut="string_onMouseOut"]
    [onMouseOver="string_onMouseOver"]
    [onMouseUp="string_onMouseUp"]
    [renderRow="boolean_renderRow"]
    [style="string_style"]
    [styleClass="string_style_class"]
    [tagId="string_tagId"]
    [title="string_title"]
    [valign="string_align"] >
    ... JSP content ...
</netui-data:header>

Description

The Header tag is used to render a table row(s) before the data grid has rendered data rows as demarcated by the <netui-data:rows> tag. The header can also optionally render a <thead> HTML tag if the data grid is rendering HTML table row groups. To enable this functionality, set the <netui-data:dataGrid> attribute. The location of this tag inside of a data grid does not affect when its content renders. Table cells containing header describing columns of data along with sort and filter state / UI is commonly placed inside of a data grid's header.

The attribute setters for the footer tag are used to add HTML attributes to the ≶thead> HTML tag. When row group rendering is disabled, attributes set here do not render.

Because this tag renders inside of an HTML table, it by default renders an HTML <tr> tag to represent a table row. Table row tag rendering can be disabled using the <netui-data:header> attribute. When this is disabled, the page author is responsible for maintaining the integrity of the HTML table by writing <tr> tags manually or by using the <netui-data:row> tag. When this tag is rendering it does not produce table cells; the contents of the table row in the footer is entirely left to the page author. With row rendering disabled, it is also possible to add multiple table rows to the end of a data grid.

The set of JSP implicit objects available to the body include:

Attributes
align
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment rendered by the HTML thead tag.
char
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment character rendered by the HTML thead tag.
charoff
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The horizontal alignment character offset rendered by the HTML thead tag.
dir
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The text direction attribute rendered by the HTML thead tag.
lang
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The language attribute rendered by the HTML thead tag.
onClick
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onClick JavaScript event for the HTML thead tag.
onDblClick
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onDblClick JavaScript event for the HTML thead tag.
onKeyDown
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyDown JavaScript event for the HTML thead tag.
onKeyPress
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyPress JavaScript event for the HTML thead tag.
onKeyUp
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onKeyUp JavaScript event for the HTML thead tag.
onMouseDown
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseDown JavaScript event for the HTML thead tag.
onMouseMove
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseMove JavaScript event for the HTML thead tag.
onMouseOut
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseOut JavaScript event for the HTML thead tag.
onMouseOver
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseOver JavaScript event for the HTML thead tag.
onMouseUp
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The onMouseUp JavaScript event for the HTML thead tag.
renderRow
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

Set a boolean that enables / disables rendering HTML table rows by this tag. If the value is enabled, an HTML <tr> will be rendered when this tag renders its body. If the value is disabled, no <tr> tags will be rendered and the page author is responsible for maintaining the integrity of the HTML table.
style
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The style rendered by the HTML thead tag.
styleClass
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The style class rendered by the HTML thead tag
tagId
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The tagId.
title
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The title rendered by the HTML thead tag
valign
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The vertical alignment rendered by the HTML thead tag


Tag Information
Tag Classorg.apache.beehive.netui.tags.databinding.datagrid.Header
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone