BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
) does not work in Angular
.
app.component.html <ej-grid id="Grid" [dataSource]="gridData" allowScrolling="true" [scrollSettings]="scrollSettings" > <e-columns> <e-column field="OrderID" headerText="OrderID" [isFrozen]="true" width="100"></e-column> <e-column field="CustomerID" headerText="Customer ID" width="50"></e-column> <e-column field="EmployeeID" headerText="Employee ID" [isFrozen]="true" width="50"></e-column> <e-column field="ShipCity" headerText="Ship City" width="70"></e-column> <e-column field="ShipCountry" headerText="Ship Country" width="60"></e-column> <e-column field="Freight" headerText="Freight" width="60"></e-column> </e-columns> </ej-grid> app.component.ts import { Component } from '@angular/core'; @Component({ selector: 'ej-app', templateUrl: 'src/grid/grid.component.html', }) export class GridComponent { public gridData; public scrollSettings; constructor() { this.gridData = window.gridData; this.scrollSettings = { width: 300, height: 300, frozenColumns :2, frozenRows: 4}; } } |