Undo and redo demo


An item
<div data-array="Rows">
    <div class="alert alert-info pull-left">
        An item <button data-action="delete"></button> <button data-action="sort"></button>
    </div>
</div>
<div class="clearfix"></div>
<button data-action="add" data-target="Rows">Add item</button>
<button class="undobtn">Undo</button>
<button class="redobtn">Redo</button>
$(".undobtn").on("click", function() {
    $form.PerformUndo();
    return false;
});

$(".redobtn").on("click", function() {
    $form.PerformRedo();
    return false;
});

Output templates

Templates used for document and web page generation:

Friendly Name File Name Template