Pages on Grids

When you define a grid, the HFMwDataGrid object calculates the total number of rows and columns. A page is a subset of these cells. Pages mean that instead of simultaneously sending all the grid’s cells over a Web connection, you can send only one page at a time.

Tip:

The maxColsPerPage and maxRowsPerPage properties define the maximum size of a grid’s pages.

A grid will have one or more pages; in other words, a grid can be viewed as a two-dimensional array of pages. Methods that work with pages use indexes to access the pages. For example, suppose a grid contains 10,000 rows and 100 columns, and the maximum number of rows and columns per page has been set to 100. Indexes for the rows will range from 0 to 99, and the only index for columns will be 0.

Tip:

For an example of how to loop through the pages in a grid, see the example for hPageCount.