Hi,
I have a project implementing kendo grid UI for asp.net mvc. It has a common .Filterable() as:
.Filterable(ftb =>
{
ftb.Mode(GridFilterMode.Row);
ftb.Extra(false);
ftb.Operators(operators => operators.ForString(str => str.Clear().IsEqualTo("Is equal")
.StartsWith("Contains")
.IsNotEqualTo("Is not equal"))
.ForDate(str => str.Clear().IsEqualTo("Is equal")
.IsNotEqualTo("Is not equal")
.IsLessThan("Is less than")
.IsGreaterThan("Is greater than")
.IsLessThanOrEqualTo("Is less than or equal to")
.IsGreaterThanOrEqualTo("Is greater than or equal to"))
.ForNumber(str => str.Clear().IsEqualTo("Is equal")
.IsNotEqualTo("Is not equal")
.IsLessThan("Is less than")
.IsGreaterThan("Is greater than")
.IsLessThanOrEqualTo("Is less than or equal to")
.IsGreaterThanOrEqualTo("Is greater than or equal to")));
})
However, for 1 particular column, I have set .Filterable(ftb => ftb.Cell(cell => cell.Template("nameOfMyDropDownList")));
The custom filter is populated using JS. The thing is, I want to get rid of the Filter Icon that gets displayed along with the dropdown since it does not make sense to have the filter icon there when we can have a custom filter dropdown.
I tried adding a class to the element to be hidden. But the class name doesn't get added.
I have a project implementing kendo grid UI for asp.net mvc. It has a common .Filterable() as:
.Filterable(ftb =>
{
ftb.Mode(GridFilterMode.Row);
ftb.Extra(false);
ftb.Operators(operators => operators.ForString(str => str.Clear().IsEqualTo("Is equal")
.StartsWith("Contains")
.IsNotEqualTo("Is not equal"))
.ForDate(str => str.Clear().IsEqualTo("Is equal")
.IsNotEqualTo("Is not equal")
.IsLessThan("Is less than")
.IsGreaterThan("Is greater than")
.IsLessThanOrEqualTo("Is less than or equal to")
.IsGreaterThanOrEqualTo("Is greater than or equal to"))
.ForNumber(str => str.Clear().IsEqualTo("Is equal")
.IsNotEqualTo("Is not equal")
.IsLessThan("Is less than")
.IsGreaterThan("Is greater than")
.IsLessThanOrEqualTo("Is less than or equal to")
.IsGreaterThanOrEqualTo("Is greater than or equal to")));
})
However, for 1 particular column, I have set .Filterable(ftb => ftb.Cell(cell => cell.Template("nameOfMyDropDownList")));
The custom filter is populated using JS. The thing is, I want to get rid of the Filter Icon that gets displayed along with the dropdown since it does not make sense to have the filter icon there when we can have a custom filter dropdown.
I tried adding a class to the element to be hidden. But the class name doesn't get added.