Gets the column definitions for the provided row def.
(rowDef: BaseRowDef)
| 1427 | |
| 1428 | /** Gets the column definitions for the provided row def. */ |
| 1429 | private _getCellTemplates(rowDef: BaseRowDef): TemplateRef<any>[] { |
| 1430 | if (!rowDef || !rowDef.columns) { |
| 1431 | return []; |
| 1432 | } |
| 1433 | return Array.from(rowDef.columns, columnId => { |
| 1434 | const column = this._columnDefsByName.get(columnId); |
| 1435 | |
| 1436 | if (!column) { |
| 1437 | throw getTableUnknownColumnError(columnId); |
| 1438 | } |
| 1439 | |
| 1440 | return rowDef.extractCellTemplate(column); |
| 1441 | }); |
| 1442 | } |
| 1443 | |
| 1444 | /** |
| 1445 | * Forces a re-render of the data rows. Should be called in cases where there has been an input |
no test coverage detected