Hi Abdul,
Greetings from Syncfusion support.
Based on your query we suspect that you want to change the date format for filter menu dialog in Grid. We can achieve your requirement by applying the format to the concern date column in Grid.
Refer the below code example.
@{
object format;
format = new { type= "date", format= "dd.MM.yyy" };
}
@Html.EJS().Grid("FlatGrid").DataSource((IEnumerable<object>)ViewBag.dataSource).Columns(col =>
{
col.Field("EmployeeID").HeaderText("Employee ID").IsPrimaryKey(true).Width("120").Add();
col.Field("CustomerID").HeaderText("Customer Name").Add();
col.Field("ShipCountry").HeaderText("Ship Country").Width("150").Add();
col.Field("OrderDate").HeaderText("Order Date").Type("date").Format(format).Width("150").Add();
col.Field("Freight").HeaderText("Freight").Width("120").Add();
}).AllowPaging().AllowFiltering().FilterSettings(filter => { filter.Type(Syncfusion.EJ2.Grids.FilterType.Menu); }).Render()
|
Refer the below screens hot.
Refer the help documentation.
Regards,
Thavasianand S.