telerik - Kendo Datasource.Data() equals Datasource.View() -
I've been working with the Kendo UI for a while and I'm stumbling on behavior, I can not understand
When you go to the grid, you can see the total 830 elements.
When you run the console
$ ("# grid"). Data ("candrog") Datasource.view ()
You get an array of 20 elements (as expected). And when you run
$ ("# grid") data. Data ("candrog") Datasource.source ()
You receive the array of the same 20 elements I tried to play with filters and from my experience. The data () actually looks the same (), which is strange. As far as I understand the documentation, I should get 20 elements while using (), but when using the data, I should get all 830
Am I doing something wrong? What is the data filter element on the backend (and paginated)? For reference, this is my backend method, which gives data for my grid.
Public Performance Index Data Source ([DataSourceRequest] DataSourceRequest Request) {var customer = this.GetViewModel (); Turn it back. Jason (Customer. Tundetus Resource Reference (Request)); Server filtering property in this example is correct (and set for server paging)
Comments
Post a Comment