Hi,
I followed the steps in "Getting Started with Angular SPA on ASP.NET Core with .NET CLI" on
When I add a ej-grid to my page, the data shows up, but in a unformatted way without any layout and filters (see attachment for screenshot).
See below the code I use on my page. What do I have to change to get it work? Many thanks in advance.
test1.component.html
<div id="test-grid">
<ej-grid id="Grid" [dataSource]="gridData" [allowPaging]="true" [allowFiltering]="true" [filterSettings]="filterType">
<e-columns>
<e-column field="OrderID" headerText="OrderID"></e-column>
<e-column field="EmployeeID" headerText="EmployeeID"></e-column>
<e-column field="CustomerID" headerText="CustomerID"></e-column>
<e-column field="ShipCountry" headerText="ShipCountry"></e-column>
<e-column field="Freight" headerText="Freight"></e-column>
</e-columns>
</ej-grid>
</div>
test1.component.ts
@Component({
selector: 'app-test1',
templateUrl: './test1.component.html'
})
export class Test1Component {
public gridData: any;
public dataManager: any;
public filterType: any;