如何在kendo自动完成中停止处理图标

时间:2014-06-18 11:37:25

标签: autocomplete kendo-ui

$("#tankNameAutocomplete&#34)。kendoAutoComplete({         minLength:3,        // refresh:false,

    dataBound: function(e) {
        if (e.minLength < 3) {
            var autoComplete = $("#tankNameAutocomplete").data("kendoAutoComplete");
            autoComplete.dataSource.data([]);
        }
    },
    dataTextField: "CustomerLocationAndTankName",
    suggest: true,
    select: tanknameautocomplete_select,
    filter: "startswith",
    dataSource: { serverFiltering: true, transport: { read: { url: "/InventoryList/GetTankNames/", dataType: "json", type: "GET" } } },        
});

1 个答案:

答案 0 :(得分:0)

我想你想要隐藏微调器图标,该图标显示何时激活服务器过滤并显示结果。如果是这种情况,您可以使用CSS覆盖它,如下例所示:

http://trykendoui.telerik.com/EjIR