Animation

Column AColumn BColumn CColumn D
Node1cinfo
Node 1-1c info
Node1-2cinfo
Node2cinfo
            <table class="table" id="table">
    <thead>
    <tr>
        <th></th><th>Column A</th><th>Column B</th><th>Column C</th><th>Column D</th>
    </tr>
    </thead>
    <tbody>
    <tr data-node="treetable-1">
        <td><input type="checkbox" name="row.id"/></td>
        <td>Node</td><td>1</td><td>c</td><td>info</td>
    </tr>
    <tr data-node="treetable-2" data-pnode="treetable-parent-1">
        <td><input type="checkbox" name="row.id"/></td>
        <td>Node</td> <td>1-1</td><td>c</td> <td>info</td>
    </tr>
    <tr data-node="treetable-3" data-pnode="treetable-parent-1">
        <td><input type="checkbox" name="row.id"/></td>
        <td>Node</td><td>1-2</td><td>c</td><td>info</td>
    </tr>
    <tr data-node="treetable-4">
        <td><input type="checkbox" name="row.id"/></td>
        <td>Node</td><td>2</td><td>c</td><td>info</td>
    </tr>
    </tbody>
</table>

<script>
    $(function() {
        $("#table").treeFy({
            treeColumn: 1,
            collapseAnimateCallback: function(row) {
                row.fadeOut();
            },
            expandAnimateCallback: function(row) {
                row.fadeIn();
            }
        });
    });
</script>