diff --git a/packages/grid/src/vaadin-grid-column-mixin.js b/packages/grid/src/vaadin-grid-column-mixin.js index 728c752975d..51be77a0c5b 100644 --- a/packages/grid/src/vaadin-grid-column-mixin.js +++ b/packages/grid/src/vaadin-grid-column-mixin.js @@ -657,12 +657,11 @@ export const ColumnBaseMixin = (superClass) => { cell: footerCell, partName: footerPartName }, ].forEach(({ cell, partName }) => { if (cell) { - const currentName = '__currentPartName'; - const currentPartNames = cell[currentName] || []; + const currentPartNames = cell.__customParts || []; cell.part.remove(...currentPartNames); - cell[currentName] = partName ? partName.trim().split(' ') : []; - cell.part.add(...cell[currentName]); + cell.__customParts = partName ? partName.trim().split(' ') : []; + cell.part.add(...cell.__customParts); } }); }