(child: HTMLElement)
| 1017 | } |
| 1018 | |
| 1019 | getRowParent(child: HTMLElement): ITableRow | undefined { |
| 1020 | if (child.hasAttribute("ui5-table-row")) { |
| 1021 | return child as ITableRow; |
| 1022 | } |
| 1023 | |
| 1024 | const parent = child.parentElement; |
| 1025 | |
| 1026 | if (!parent) { |
| 1027 | return; |
| 1028 | } |
| 1029 | |
| 1030 | if (parent.hasAttribute("ui5-table-row")) { |
| 1031 | return parent as ITableRow; |
| 1032 | } |
| 1033 | |
| 1034 | return this.getRowParent(parent); |
| 1035 | } |
| 1036 | |
| 1037 | get columnHeader(): HTMLElement | null { |
| 1038 | const domRef = this.getDomRef(); |
no test coverage detected