Automate

 View Only
  • 1.  Event for page change in Repeating Content Table

    Posted 02-07-2025 05:56

    Hi Experts!

    We are struggling to find a JavaScript event when you switch pages in paginated view in repeating content table. Anyone knows?

    Thanks!



    ------------------------------
    Alexey Skotnikov
    GPO, Data Governance
    ABBOTT RAPID DX INTERNATIONAL LIMITED
    ------------------------------


  • 2.  RE: Event for page change in Repeating Content Table

    Employee
    Posted 02-10-2025 13:10

    Hi Alexey,

    renderRows method from frmRenderer.js is invoked on navigating through pages in a repeating tabel.

    This method expects a single parameter : "Argument" which is degined as below. to invoke this from forms custom javascript u can use snipped

    renderer.renderRows(theArguments);

    ---------------

                            var theArguments = {
                                element: renderer.formModel.getElementById(this.tableId),
                                parentId: this.tableId,
                                indices: this.itemindices.slice(start, start + Math.min(this.itemsOnPage > 0 ? this.itemsOnPage : this.items, (this.items - start))),
                                newRows: false, refresh: true, validate: "All"
                            };

    --------------------------

    Hope this helps.

    Regards



    ------------------------------
    Hammad Naeem
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: Event for page change in Repeating Content Table

    Posted 02-11-2025 05:36

    Thanks a lot, Hammad, that is useful. How can we get an event that will trigger on page change, so that we can add custom code after change is made?



    ------------------------------
    Alexey Skotnikov
    GPO, Data Governance
    ABBOTT RAPID DX INTERNATIONAL LIMITED
    ------------------------------