Skip auto focus demo


Adding rows with the button below will set focus to table column number two, as the first column has been marked with the "skipautofocus" class.

<p>Adding rows with the button below will set focus to table column number two, as the first column has been marked with the &quot;skipautofocus&quot; class.</p>
<table class="table table-striped table-bordered">
    <tbody data-array="Rows" data-remove="1">
        <tr>
            <td class="skipautofocus"><input name="Field1" /></td>
            <td><input name="Field2" /></td>
        </tr>
    </tbody>
</table>
<button data-action="add" data-target="Rows">Add table row</button>
No JS code used for this example

Output templates

Templates used for document and web page generation:

Friendly Name File Name Template