Large listview performance and data-view events

2 posts, 0 answers
  1. Andres
    Andres avatar
    30 posts
    Member since:
    Apr 2013

    Posted 20 Jan 2014 Link to this post

    Hi,
    I have a big listview which is getting data from a local JSON (around 900 records).

    To be able to show all those records, i group them by first letter (A, B, C), so the user doesnt see so many records at once.

    so, in data-show="app.mylistview.showData"
    i do
    showData: function (e) {
                
                var filters = {
     field: "Name",
     operator: "startswith"
    };
    filters.value = "A";
    this.model.ataDataSource.filter(filters);
    }

    And then the user select A, B, C.. etc.

    OK, the think is that on device (in simulation works fine) it takes 2-3 seconds to render again the view if i come back the this listview.
    is there no cache? is it data-show event that is ordering again the json array?

    thanks
  2. Andres
    Andres avatar
    30 posts
    Member since:
    Apr 2013

    Posted 13 Feb 2014 Link to this post

    HI,
    Stupid question. I was using data-show instead of data-init.
  3. Kendo UI is VS 2017 Ready
Back to Top