This PR enables getAgGridElements() which allows us to retrieve the actual cell elements from the AG grid.
Getting Elements From the Grid
To get the Ag Grid data as elements (if you want to interact with the cells themselves), you must chain .getAgGridElements() after the cy.get() command for the topmost level of the grid, including controls and headers (see selected DOM element in above image).
The above example will grab the table as elements, finds the row whose Price equals 72000. It then gets the Price cell for that row, double clicks on it to enable an editable input, and changes the value of the cell.
This PR enables
getAgGridElements()
which allows us to retrieve the actual cell elements from the AG grid.Getting Elements From the Grid
To get the Ag Grid data as elements (if you want to interact with the cells themselves), you must chain
.getAgGridElements()
after thecy.get()
command for the topmost level of the grid, including controls and headers (see selected DOM element in above image).The above example will grab the table as elements, finds the row whose
Price
equals72000
. It then gets thePrice
cell for that row, double clicks on it to enable an editable input, and changes the value of the cell.