<div class="control-section">
<ejs-grid [dataSource]='data' height='350'>
<e-columns>
<e-column field='OrderID' headerText='Order ID' width='120' textAlign='Right'></e-column>
<e-column field='CustomerName' headerText='Customer Name' width='150'>
<ng-template #template let-data>
<div>
<a rel='nofollow' href="#">{{ data.CustomerName }}</a> //add your link here instead of #
</div>
</ng-template>
</e-column>
....
....
</e-columns>
</ejs-grid>
</div > |
<e-columns>
<e-column field='OrderID' headerText='Order ID' width='120'></e-column>
<e-column headerText='Customer Name' width='150'>
<ng-template #template let-data>
<div>
<a rel='nofollow' href="#" *ngFor="let custid of data.CustomerID; let i=index">{{custid}}
<span *ngIf="i != data.CustomerID.length-1"> ,</span></a>
</div>
</ng-template>
</e-column>
</e-columns>
|