()
| 164 | } |
| 165 | |
| 166 | private getRows(): GridNode<T>[] { |
| 167 | let rows: GridNode<T>[] = []; |
| 168 | for (let child of this) { |
| 169 | if (child.type === 'tablebody' || child.type === 'tablefooter') { |
| 170 | rows.push(...this.getChildren(child.key)); |
| 171 | } |
| 172 | } |
| 173 | return rows; |
| 174 | } |
| 175 | |
| 176 | // backward compatibility |
| 177 | get body() { |
no test coverage detected