<grid
[data]="sortedDeviceList"
[multiSelect]="false"
[enableSort]="true"
[rowTemplate]="">
</grid>
I want to pass a HTML template to the rowTemplate property. And the template will look like this.
<div>
<div>{{item.id}}</div>
<div>{{item.name}}</div>
</div>
The grid template look likes this.
<div *ngFor="let item in data">
// template should appear here.
</div>
How to do this?