How to reset filter programmatically on listview for Kendo Mobile? -
i have configured listview enable filtering. in event, how can reset filter?
this have:
$("#listview").kendomobilelistview({ datasource: datasource, template: $("#listview-template").text(), filterable: { field: "productname", operator: "startswith" } });
in function, how can reset filter listview shows again (in case typed search)?
$("#listview").data("kendomobilelistview")...??
do:
$("#listview").data("kendomobilelistview").datasource.filter({});
Comments
Post a Comment