General Interface is an open source project hosted by the Dojo Foundation

Paging Models

The Matrix uses various paging models to improve overall rendering performance and simplify performance tuning tasks for the developer. Paging models determine how much and when data is displayed. The key paging models include the following types.

Property Static Field Description
No paging Matrix.PAGING_OFF Paging is turned off. All data is painted at once with the outer container.
2-pass Matrix.PAGING_2PASS The empty outer container is painted first. Then all data is painted in a second pass.
Chunked Matrix.PAGING_CHUNKED The outer container is painted first. Chunked sets of data are painted on-screen during repeated passes until all data is painted. The chunk size can be tuned for the use case. This is often determined by the number of records, screen size, column count, and so on.
Paged Matrix.PAGING_PAGED The outer container is painted first. The first and last panels are painted during a second pass. As the user scrolls, relevant panels are added and unused panels are collected. Note: Requires that row height be fixed.
Stepped (hierarchical) Matrix.PAGING_STEPPED This setting only applies to hierarchical models. When set, only expanded nodes are rendered. The data is fetched and painted on-screen when the user expands a given node in the hierarchy.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.