filtering - Kendo Grid: Clearing filter without calling server side read of data -


I have a condo grid with server side paging. On the same page, I also have a clear button, which Grid data should be cleaned and replaced with blank lines. Is it possible to clarify the filter of that grid, without reading the server side? Currently when I do this, $ ("# grid"). Data ("candrog") Datasource.sfilter ({}) , this server will call the side function and will load the data. Can someone point me in the right direction? Thank you. Regardless of the server, despite the filing set by default, it seems that filter ()

automatically Read the call transportation once every time

However, you can try it:

  dataSource._filter = null;   

This will read the transport without canceling any filters applied to this data source. But , you have to be cautious of this approach because it is not "official" configuration by the telefilm. _filter is internal, so to speak.

You can do this by logging the request event by the console and you can see that it is not a request.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -