
<div class="<%= ctrl.props.id %>"
        <%- include('../../../attributes/common/base_attributes', {ctrl : ctrl}) %>
        <% if(ctrl.props.scroll_bar) {%>
     infinite-scroll
     [infiniteScrollDistance]="2"
     [infiniteScrollThrottle]="500"
     (scrolled)="onScrollDown()"
     [scrollWindow]="false"
        <%}%>
>
    <div *ngFor="let row of task.Records.list">
        <div *ngIf="mgIfRowCreated(row.rowId)" id="row"
                <% if(magicConfig.allow_testing) { %>
             MgControlType="MgRow"
                <% } %>
             class="<%= ctrl.props.id %>_table_rowProps"
             <%if (typeof ctrl.props.no_modifiable_descendants === "undefined") {%>
                [formGroup]="mgGetFormGroupByRow(row.rowId)"
             <%}%>
             [ngClass]="{ 'selected': isRowSelected('<%= ctrl.props.id %>', row.rowId)}">
            <%- include(`../../container`, {ctrl: ctrl}) %>
        </div>
    </div>
</div>
