(acc: boolean, def: BaseRowDef)
| 1186 | */ |
| 1187 | private _renderUpdatedColumns(): boolean { |
| 1188 | const columnsDiffReducer = (acc: boolean, def: BaseRowDef) => { |
| 1189 | // The differ should be run for every column, even if `acc` is already |
| 1190 | // true (see #29922) |
| 1191 | const diff = !!def.getColumnsDiff(); |
| 1192 | return acc || diff; |
| 1193 | }; |
| 1194 | |
| 1195 | // Force re-render data rows if the list of column definitions have changed. |
| 1196 | const dataColumnsChanged = this._rowDefs.reduce(columnsDiffReducer, false); |
nothing calls this directly
no outgoing calls
no test coverage detected