Scroller and serverside - length always '-1' and start always '0'

Scroller and serverside - length always '-1' and start always '0'

ivictborivictbor Posts: 6Questions: 2Answers: 0
edited June 2015 in Free community support

Hi! I use scroller with this options:

     searching: true,
     paging: false,
     "sDom": "t",
     "bFilter": false,
     "info": false,
     "sScrollY": 200,
    "oScroller": {
       "rowHeight": 20,
    },
    "ajax": {
       url: '/echo/json/',
       type: 'POST'
    },
      stateSave: true,
    "processing": true,
     "serverSide": true,
  }

table height is 200 so I suppose that POST dict on my server will contain key 'length' with value 200 / 20(row height) = 10 + 10 (buffered), but it is always '-1'. Is there some config error?

Here is a fiddle http://jsfiddle.net/HEDvf/2712/ (In Google chrome Dev tools Network -> XHR -> find 'json/' -> Headers tab -> See Form Data)

Answers

  • ivictborivictbor Posts: 6Questions: 2Answers: 0
    edited June 2015

    Hm, if removing "paging: false", it sends 10 length, but with scroll it stays the same.

This discussion has been closed.