In the column menu under the filter, the first box is defaulted to "Starts With". We've found that our users are switching this to "Contains" about 90% of the time. How to we change the default to be "Contains".
Thanks
Jason
1 Answer, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 21 Jan 2014, 09:13 AM
Hi Jason,
To achieve this, you could bind to the columnMenuInit event of the Grid, get the DropDownList instance and set it's value to Contains.
E.g.
function columnMenuInit(e) {
var ddl = e.container.find("[data-role='dropdownlist']:first").data("kendoDropDownList");
ddl.value("contains");
ddl.trigger("change");
}
I hope this information helps. Have a great day!
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!