Enabling pagination on a subcollection

To enable pagination on a subcollection:

  1. Perform one of these steps:
    • In the Windows client, open the form that you want to modify, then go into Design Mode.
    • In the web client, launch the Web Designer, then open the form that you want to modify.
  2. Add these page control components:
    • Page number field, for example: Page 1 out of 28
    • Current page field
    • Previous button
    • Go to page button
    • Next button
  3. Select the grid component where the subcollection is the data source.
  4. In the Component > Properties > Data Source > Binding property, click the ellipses () button.
  5. In the Edit Component Data Binding > Type field, select Subcollection Grid.
  6. Click Edit.
  7. In the Edit Collection Specification for Subcollection > Advanced Options section, perform these steps:
    1. Specify the Record Cap Override value.
    2. Click the Enable Paging? check box.
    3. Click Set LinkBy.
    4. In the Edit LinkBy Specification > Parent Property and Child Property fields, select CollectionName.
    5. Click Add.
    6. Click OK.
  8. Click OK twice.
  9. Add events for each button:
    Button Event
    Previous GotoPrevPageSub
    Go to page GotoPageSub
    Next GotoNextPageSub
  10. Click Save.
  11. Reset IDO cache, if necessary.
  12. Test the form.