|
@using Syncfusion.Blazor.Grids
@using Syncfusion.Blazor
<SfGrid DataSource="@Orders" AllowFiltering="true" AllowPaging="true" Height="315">
<GridFilterSettings Type="Syncfusion.Blazor.Grids.FilterType.Menu"></GridFilterSettings>
<GridEvents OnActionBegin="ActionBegin" TValue="Order"></GridEvents>
<GridColumns>
..
..
</GridColumns>
</SfGrid>
@code{
public async Task ActionBegin(ActionEventArgs<Order> Args)
{
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.FilterBeforeOpen)
{
if (Args.ColumnName == "CustomerID") }
...
}
public class Operators
{
public string Value { get; set; }
public string Text { get; set; }
}
List<object> CustomerIDOperator = new List<object> {
new Operators() { Text= "Equal", Value= "equal" },
new Operators() { Text= "Contains", Value= "contains" } };
|
Has this issue with applying custom operators for Date and DateTime columns been resolved? I'm having the same problem with the Javascript ES5 Grid control version 21.2.3
Hi James,
We have created an separate Forum for your query. So kindly follow the mentioned thread for additional information.
Regards,
Monisha