[app.component.html]
<ejs-grid #grid [dataSource]='data' id='Grid'>
<ng-template #detailTemplate let-data>
<table class="detailtable" width="100%">
. . .
</table>
</ng-template>
<e-columns>
<e-column field='EmployeeID' headerText='Employee ID' width='125' textAlign='Right'></e-column>
<e-column field='FirstName' headerText='Name' width='120'></e-column>
. . ..
</e-columns>
</ejs-grid>
[app.component.css]
.e-grid .e-icon-grightarrow::before {
content: '\e823' !important;
}
.e-grid .e-icon-gdownarrow::before{
content: '\e934' !important;
}
|