Skip to content

getElements

The getElements method allows us to search through the descendants in the DOM tree and construct a new jQuery object from the matching elements. This method internally calls and is equivalent to jQuery find().

Syntax

getElements (elementSelector)

Arguments

elementSelector : string (required)

The jQuery selector to use to find the desired elements.

Example

 report.api.getElements("#R1C1")