| 435 | const picker = document.createElement('div'); |
| 436 | picker.className = 'analyticsTransformColumnChips'; |
| 437 | const insertToken = token => { |
| 438 | const start = formula.selectionStart; |
| 439 | formula.setRangeText(token, start, formula.selectionEnd, 'end'); |
| 440 | formula.focus(); |
| 441 | formula.dispatchEvent(new Event('input', {bubbles: true})); |
| 442 | }; |
| 443 | row.refreshColumnChips = () => { |
| 444 | const calculations = [...document.querySelectorAll('#transformCalculationList .analyticsTransformCalculation')] |
| 445 | .filter(other => other !== row) |