Skip to main content
Inspiring
August 13, 2007
Answered

CFGRID pagesize not working

  • August 13, 2007
  • 2 replies
  • 1493 views
We're trying out the new feature in CF8, and I can't seem to get this one to work. The CFGRID tag has a pagesize attribute for HTML grids. This uses Ajax paging. I can't seem to get it to work. No matter what I do, all records appear on one page.

Here is some simple code. Does this work for anyone else?

    This topic has been closed for replies.
    Correct answer TSB
    Pagesize attribute does not work with the query attribute.

    Trevor

    2 replies

    tSparkAuthor
    Inspiring
    August 13, 2007
    The solution is to create a CFC and use the bind method for the data.

    Ben Forta has a great example here...

    http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-3-Live-Data-Grids
    TSBCorrect answer
    Inspiring
    August 13, 2007
    Pagesize attribute does not work with the query attribute.

    Trevor