Hello team syncfusion, I have used grouping in grid. Want to remove the colon from the header.
Please notice the colon "Customer ID:" , "ShipCity:" , These are the column headers, I use the same example in my app. If I leave the header text empty, the colon still appears.
You can check it here.
https://ej2.syncfusion.com/angular/documentation/grid/grouping/
|
<ejs-grid
#grid
[dataSource]="data"
allowPaging="true"
allowSorting="true"
[allowGrouping]="true"
[groupSettings]="groupOptions"
[pageSettings]="pageSettings"
height="320"
(dataBound)="dataBound()"
(created)="created()"
(load)="load()"
>
<e-columns>
<e-column
field="Inventor"
headerText="Inventor Name"
width="180"
></e-column>
<e-column
field="NumberofPatentFamilies"
headerText="Number of Patent Families"
width="220"
textAlign="Right"
></e-column>
<e-column field="Country" headerText="Country" width="140"></e-column>
<e-column field="Active" width="120"></e-column>
<e-column
field="Mainfieldsofinvention"
headerText="Main fields of invention"
[allowGrouping]="false"
width="200"
></e-column>
</e-columns>
<ng-template #groupSettingsCaptionTemplate let-data>
<span class="groupHeader" style="color:blue">{{ data.field }}</span>
<span class="groupItems" style="color:blue">
- {{ data.count }} Items</span
>
</ng-template>
</ejs-grid>
|