MCPcopy
hub / github.com/Comcast/react-data-grid / getCellsAtRowIndex

Function getCellsAtRowIndex

test/browser/utils.tsx:78–82  ·  view source on GitHub ↗
(rowIdx: number)

Source from the content-addressed store, hash-verified

76}
77
78export function getCellsAtRowIndex(rowIdx: number) {
79 return Array.from(
80 document.querySelectorAll<HTMLDivElement>(`[aria-rowindex="${rowIdx + 2}"] > .rdg-cell`)
81 );
82}
83
84export function getCells() {
85 return page.getByRole('gridcell').elements();

Callers 8

copyPaste.test.tsxFile · 0.90
dragFill.test.tsxFile · 0.90
assertCellsFunction · 0.90
assertCellIndexesFunction · 0.90
colSpan.test.tsFile · 0.90

Calls

no outgoing calls

Tested by 2

assertCellsFunction · 0.72
assertCellIndexesFunction · 0.72