Dear Sirs,
In SyncFusion’s element grid I want to present a table.
The table cointains names of employes and the code looks as follows:
<e-column field='idn' headerText='Name' textAlign='Right' width=90 ></e-column>
I would like cell „Name” to be a routing (link) to subpage „SpecifiedName” that shows the infromations regarding particular employe. How can I achieve this goal? Is there something like rel='nofollow' href to get transferred to subpage from cell in a grid (table)?
|
<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 > |