Repeating Grid with paging pxCheckBox Select All does not work
An application developer is designing a repeating grid in the application with pagination enabled and the Pega-provided Select All UI control to select all records present on the current page. In header labels, the pxCheckBox control is added to select all records. When application users select the check box on Page 1 of the repeating grid, Select All works as expected. However, when users navigate to Page 2 or to subsequent pages, the check box is displayed as selected by default, but the records are not selected. To select all records on Page 2 and subsequent pages, users have to clear the check box and then select the check box every time.
Steps to Reproduce
- Create a repeating grid with pagination enabled and the source as a page list property.
- Place a check box in the header to provide Select All functionality.
- Run the application, using the repeating grid and paging from the first page to the subsequent pages.
pxCheckBox Select All does not work with pagination in repeating grids. This functionality is not supported because it negatively affects performance.
Perform the following local-change to work around the product limitation:
In pyPregridUpdate, clear the property pointing to check box in header.
In Step 10 of @baseclass • pyPreGridUpdate, add the following line to the code:
tools.findPage(<Page name>).getProperty(<Property associated with the header checkbox>).setValue("false");
50% found this useful