Hey
I have some problem with Kendo.Grid()
I wanna add filter for some column value then is NULL.
Code here:
x.Ajax().Read(r => r.Action("DataSource", "SRV_Service", new { area = "SRV" }))
.Filter(f => f.Add(s => s.PID).IsEqualTo((Guid?)null))
Datasource when i use null value filter.
https://resimyukle.xyz/resim/KU48JA
MVC Enums for filter operators
public enum FilterOperator
{
IsLessThan = 0,
IsLessThanOrEqualTo = 1,
IsEqualTo = 2,
IsNotEqualTo = 3,
IsGreaterThanOrEqualTo = 4,
IsGreaterThan = 5,
StartsWith = 6,
EndsWith = 7,
Contains = 8,
IsContainedIn = 9,
DoesNotContain = 10
}
And your "Operator used in FilterDescriptor" keys has IsNull operator
http://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc/FilterOperator
How can i do append IsNull operator on Kendo.Mvc.FilterDescriptor ?
Please help me
I have some problem with Kendo.Grid()
I wanna add filter for some column value then is NULL.
Code here:
x.Ajax().Read(r => r.Action("DataSource", "SRV_Service", new { area = "SRV" }))
.Filter(f => f.Add(s => s.PID).IsEqualTo((Guid?)null))
Datasource when i use null value filter.
https://resimyukle.xyz/resim/KU48JA
MVC Enums for filter operators
public enum FilterOperator
{
IsLessThan = 0,
IsLessThanOrEqualTo = 1,
IsEqualTo = 2,
IsNotEqualTo = 3,
IsGreaterThanOrEqualTo = 4,
IsGreaterThan = 5,
StartsWith = 6,
EndsWith = 7,
Contains = 8,
IsContainedIn = 9,
DoesNotContain = 10
}
And your "Operator used in FilterDescriptor" keys has IsNull operator
http://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc/FilterOperator
How can i do append IsNull operator on Kendo.Mvc.FilterDescriptor ?
Please help me