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

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -