This question is locked. New answers and comments are not allowed.
We would like to minimize the number of clicks a customer has to do. Is there a way to set the focus to the first textbox in the filter popup when the filter icon is clicked?
This works but only for the first filter I select…
The problem would appear to be that the filter popups are dynamically generated so after the first, I’m not grabbing the right input:text.
columns.Bound(o => o.MinTemp).HeaderHtmlAttributes(new { @class = "oneClick" });columns.Bound(o => o.MaxTemp).HeaderHtmlAttributes(new { @class = "oneClick" });columns.Bound(o => o.Status).HeaderHtmlAttributes(new { @class = "oneClick" });function onDataBound(e) {$(".oneClick .t-filter").click(function () { setTimeout(function () { $(".t-filter-operator").parent().find("input:text").first().focus(); }); }); }