Server paging and ListView's loadMore

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    60 posts
    Member since:
    Mar 2012

    Posted 17 Apr 2012 Link to this post

    In odata __next is specified to let the datasource know how to request more results.  I'm using hand rolled json and my listview isn't showing the loadmore button.  What do I need to do to let it know it should request the same URL but increment the page number?

        dataSource: ds,
        template: "#= f #",
        headerTemplate: "${value}",
        loadMore: true

    var ds = new{
      transport: {
        read: {
          url: "http://localhost:3000/api/anagram",
          dataType: "jsonp",
          data: {
            format: 'html'
        parameterMap: function(options) {
          if (options.filter && options.filter.filters.length > 0)
            return {
              rack: options.filter.filters[0].value.replace(/\?/g,'-'),
              format: 'html',
              limit: options.pageSize,
          return options;
      group: 'length',
      pageSize: 10,
      page: 1,
      sort: {field: 'w', dir: 'asc'},
      filter: { field: 'rack', operator: 'eq', value: 'z' },
      serverFiltering: true,
      serverPaging: true,
      serverGrouping: true,
      serverSorting: true,
      error: function(e){
      change: function(e) {
        console.log('Data changed: ';
      schema: {
        groups: 'groups',
        total: 'count',
        model: {
          fields: {
            length: {
              type: 'number'
            w: {
              type: 'string'
            f: {
              type: 'string'
  2. Ryan
    Ryan avatar
    60 posts
    Member since:
    Mar 2012

    Posted 17 Apr 2012 Link to this post

    I don't think that load more is even in the currently published ListView control.  Searching the minified JS results in 0 hits for it.  Methods like appendOnRefresh turn up hits.  The demos site doesn't have any reference to loadMore.  :(.  Also disappointing that the demos site lists refresh as a method but the docs site doesnt.
  3. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 18 Apr 2012 Link to this post


    The "load more" functionality, as the "endless scrolling" will be available for the next service pack of the KendUI, which will be available only for paid customers. The loadMore option is not available in the 2012.1 322 version of the KendoUI. I have updated the documentation to avoid any confusions.

    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  4. Vijay
    Vijay avatar
    5 posts
    Member since:
    Apr 2012

    Posted 10 May 2012 Link to this post


    We want to control if paging is done on click or server based on total count. Can I change ServerPaging = true | false based on total count. 

    please let me know
Back to Top