bug in : "pageLength": '2' will print : Showing 1 to 02 of 5 entries

bug in : "pageLength": '2' will print : Showing 1 to 02 of 5 entries

survivantsurvivant Posts: 1Questions: 1Answers: 0

I found a bug. I created a jsfiddle
https://jsfiddle.net/survivant/wfgn191a/1/

it's simple. if you use :
pageLength: '2',

it will print : Showing 1 to 02 of 5 entries and the NEXT button will not works.

if you use :
pageLength: 2,
it will works.
Showing 1 to 2 of 5 entries and the next button will works.

Answers

  • allanallan Posts: 63,794Questions: 1Answers: 10,514 Site admin

    This is not a bug - the pageLength property should be given as a number, not a string, as documented.

    Allan

This discussion has been closed.