This question is locked. New answers and comments are not allowed.
Hello,
By default my telerik grid filter is choosing "Ends With" when all examples show "Is Equal To" as the default.
Here is my grid:
By default my telerik grid filter is choosing "Ends With" when all examples show "Is Equal To" as the default.
Here is my grid:
<%= Html.Telerik().Grid(Model.myWorklistItems) .Name("Worklist") .Columns(columns => { columns.Bound(o => o.SerialNumber).Title("").Format(Html.ActionLink("Edit", "Edit", new { id = "{0}" }).ToHtmlString()).Encoded(false).Width(60); columns.Bound(o => o.RequestName).Width(100); columns.Bound(o => o.Status).Width(100); columns.Bound(o => o.RequestDate).Width(100); columns.Bound(o => o.FacilityName).Width(100); columns.Bound(o => o.FacilityID).Width(100); }) .DataBinding(dataBinding => { dataBinding.Server().Select("Index", "Home", true); }) .Scrollable(scrolling => scrolling.Enabled(false)) .Sortable(sorting => sorting.Enabled(true)) .Pageable(paging => paging.Enabled(true)) .Filterable(filtering => filtering.Enabled(true)) .Footer(true) %>
I understand that this is controlled in the telerik.grid.js file on my computer but that file has the correct order:
filterStringEq: 'Is equal to',
filterStringNe: 'Is not equal to',
filterStringStartsWith: 'Starts with',
filterStringSubstringOf: 'Contains',
filterStringEndsWith: 'Ends with',
even in the .min.js it is correct:
filterStringEq: 'Is equal to',
filterStringNe: 'Is not equal to',
filterStringStartsWith: 'Starts with',
filterStringSubstringOf: 'Contains',
filterStringEndsWith: 'Ends with',
even in the .min.js it is correct:
filterStringEq:
"Is equal to",filterStringNe:"Is not equal to",filterStringStartsWith:"Starts with",filterStringSubstringOf:"Contains",filterStringEndsWith:
"Ends with"
Please see the attached image - how is "Ends with" getting on top?
Inspecting the element in chrome it looks like it is ordering it this way:
<select class="t-filter-operator">
<option value="endswith">Ends with</option>
<option value="eq">Is equal to</option>
<option value="ne">Is not equal to</option>
<option value="startswith">Starts with</option>
<option value="substringof">Contains</option></select>
Is this an issue with MVC Q1 2011 version?