MCPcopy Index your code
hub / github.com/adobe/react-spectrum / getColumns

Method getColumns

packages/@react-aria/test-utils/src/table.ts:536–539  ·  view source on GitHub ↗

* Returns the columns within the table.

()

Source from the content-addressed store, hash-verified

534 * Returns the columns within the table.
535 */
536 getColumns(): HTMLElement[] {
537 let headerRowGroup = this.getRowGroups()[0];
538 return headerRowGroup ? within(headerRowGroup).queryAllByRole('columnheader') : [];
539 }
540
541 /**
542 * Returns the rows within the table if any. Can be filtered to a specific row group if provided

Callers 4

toggleSortMethod · 0.95
Table.test.jsFile · 0.80
TableTests.jsFile · 0.80

Calls 1

getRowGroupsMethod · 0.95

Tested by

no test coverage detected