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 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.
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 |