"ngForm"> <% for (let column of columns) { %> filter="<%= column.type %>" <% } %> [width]="220" <% if (column.type === 'date') { %> [format]="'date' | getDateFormat"> <% } if (column.editable === true) { %> <% if (column.type === 'numeric') { %>
Grid<%= gridName %>Ctrl="ngModel" [min]="0" [max]="3" [(ngModel)]="dataItem.<%= column.name %>">
<% } else if (column.type === 'text') { %>
Grid<%= gridName %>Ctrl="ngModel" id="<%= column.name %>Grid<%= gridName %>" name="<%= column.name %>Grid<%= gridName %>" [(ngModel)]="dataItem.<%= column.name %>" maxlength="3" required/>
<% } else if (column.type === 'date') { %> <% } %>
<% } %>
<% } %>