(Quick Reference)



This tag is used to render a table row. It can only be used in bodies of the table tag as it relies on contextual information (row number).

See the ui:table example for usage. UI Sets can easily detect if the row being rendered is odd or not using a model variable, or use the row number for other effects or functionality.


        <ui:th text="table.id"/>
        <ui:th text="table.artist"/>
        <ui:th text="table.title"/>
        <ui:th text="table.genre"/>
    <g:each in="${1..10}" var="i">
        <td>Farmers Market</td>
        <td>Slav To Rhythm</td>
        <td colspan="4">This final row is ${row}</td>


All attributes are passed through.