• Retrieves a list of FuncPart instances for the specified element.

    This function is used to find all FuncPart instances associated with a specific element, such as in a free layout table that contains multiple Intrexx application pages.

    Parameters

    • Optional element: HTMLElement

      The element for which to find the associated FuncPart instances. The search is restricted to the DOM subtree rooted at this element.

    • ignoreTableRecords: boolean = false

      If set to true, the function will ignore table records.

    Returns IxPage[]

    An array of FuncPart instances associated with the specified element. If no such FuncPart instances exist, the function returns an empty array.

    Note

    FuncPart is a JavaScript representation of an Intrexx application page.

    Example

    // Get all FuncPart instances associated with the specified free layout table.
    const freeLayoutTable = ix.api.dom.getControl("<TABLE-GUID>");
    const funcParts = ix.api.page.getFuncParts(freeLayoutTable);
    console.log(funcParts); // Outputs: [FuncPart { ... }, FuncPart { ... }]