Hi Yasas,
Greetings from Syncfusion support.
The checkbox data in the grid’s excel filter displays the distinct data filtered from the underlying data source by default. As for your query in online sample, since the Shipped Date column is set as date format and distinct time value is present for this column the values are repeated in the filter data. If you do not require the time value you can remove it in the underlying json data to display the distinct date values alone. However if you need the time value also then you need to set the column format to ‘datetime’ to display distinct datetime values as demonstrated in the below code snippet,
<ejs-grid #grid [dataSource]='data' allowPaging='true' allowFiltering='true' [pageSettings]='pageSettings' [filterSettings]='filterSettings'>
<e-columns>
.
.
<e-column field='ShippedDate' headerText='Shipped Date' width='130' type='date' [format]="formatoptions" textAlign='Right'></e-column>
</e-columns>
</ejs-grid> |
ngOnInit(): void {
.
.
this.formatoptions = { type: 'dateTime', format: 'M/d/y hh:mm a' }
} |
Let us know if you have any concerns.
Regards,
Sujith R