|
This tag is optionally used to render HTML table roe tags inside of one of the data grid tags that
are used to denote data grid row rendering boundaries. When the
Header ,
Rows , or
Footer have their renderRow attribute set to false , no HTML table row element will render
before starting to render the body of one of these tags. This tag should be used when renderRows
is false in order to render an HTML table row. The Row tag is used this way in order to
allow a page author to set JSP tag attributes that can configure each rendered table row differently.
For example:
<netui-data:rows renderRows="false">
<netui-data:row styleClass="rowStyle${container.index}">
<netui-data:spanCell value="${container.item}"/>
</netui-data:row>
</netui-data:rows>
and a data set containing ["foo", "bar", "baz"] will render:
<tr class="rowStyle0">foo</tr>
<tr class="rowStyle1">bar</tr>
<tr class="rowStyle2">baz</tr>
If the <netui-data:row$gt; were omitted, none of the <tr> elements would be rendered in the output. Note,
this tag should not be used inside of the Header, Rows, or Footer tags unless their renderRow
attribute is set to false
HeaderRowsFooter |