PageLen -1 has all records, but does not display them

PageLen -1 has all records, but does not display them

Loren MaxwellLoren Maxwell Posts: 387Questions: 94Answers: 10

I put a pageLen of -1 for the table on the right of this page:
http://ghsfha.org/w/Special:SchoolHome?view=recbyopp&school=Baldwin

I expected it to display all 237 rows in the table, but it only displays 162.

All the rows are available to search and they properly sort, but I expected all 237 records (or whatever the number is) to have displayed.

I thought originally that the container might be limiting it somehow, but I don't see it.

Any ideas what's happening?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,332Questions: 26Answers: 4,775
    Answer ✓

    Are you referring to the "Record by opposing coach" table?

    Looks like its displaying 237 records:

    Didn't count them though :smile:

    Kevin

  • Loren MaxwellLoren Maxwell Posts: 387Questions: 94Answers: 10
    edited December 2017

    Hmmmmm . . . I couldn't get this for nothing last night but now it works for me too.

    Now . . . maybe this happened:

    1) I had saveState = true
    2) I changed from from using Scoller to pageLen = -1

    I wonder if the Scroller had only prepared 162 records in the scroll area and when I removed the Scroller and set the pageLen to -1 the saveState remembered to only prepare 162 rows for display.

    At any rate, it appears to be working for me now as well.

    @kthorngren -- Thanks for being willing to look at it!

This discussion has been closed.