Question
Virtusa
IN
Last activity: 15 Nov 2016 8:36 EST
Custom Pagination in repeating grid.
what is custom pagination?what is pagination activity in an repeating grid? when do we use this pagination activity
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Hemalatha,
You can specify a custom activity that populates the clipboard from a Page List in a page size you define. Because the activity limits clipboard size, this option is useful when retrieving large amounts of data from an external Web service or database. You can also use this activity to control sorting and filtering behavior.
Click the magnifying the glass icon to create a pagination activity or review an existing pagination activity.
For guidance on configuring the parameters in your activity, use a copy of the standard template activity pyTemplateAdvancedGridActivity.
Hope this helps!
Thanks,
Gisela
Virtusa
IN
Hi ,
I have a requirement i.e i will import users into system.By default the no.of users in displayed should be 10 in users portal. Iam using repeating grid to display the list of imported,where the source is property. If the imported users count is greater than 25,i should display 15 users . How to acheive this?How can we set the value of pypagesize dynamically based on the count of imported users.
Pegasystems Inc.
IN
Hi,
Does setting the page size to 15 will work ? Cause when the Property has only 10 it will obviously display 10 results, when they are more than 15, it will go to next page.
Virtusa
IN
pyTemplateADvancedGrids Activity is in @baseclass, can i save it to my ruleset and if i specify the required paramaters.where does the parametrs are passed to ?
Pegasystems Inc.
IN
For example set-up you can refer, Advanced in the UIGallery Grid Paging.
Pegasystems Inc.
US
I do nto think you can set the pagination size (number of records displayed per page) dynamically based on a property.
You can have two different repeat grids with different page sizes and use visiableWhen to display one or the other based on the number of records. If this seems overkill, you can try "Progressive " pagination.