nicolaskruchten / pivottable

Open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.
https://pivottable.js.org/
MIT License
4.35k stars 1.08k forks source link

Function unique() being rendered on table #1287

Closed LucasMontero closed 1 year ago

LucasMontero commented 3 years ago

When I render a table with the following code, using Angular and being this.pivotTable?.nativeElement a DOM Element, the function unique is being rendered as it was part of some data.

    $(this.pivotTable?.nativeElement).pivotUI(
      [
          {color: "blue", shape: "circle"},
          {color: "red", shape: "triangle"}
      ],
      {
          rows: ["color"],
          cols: ["shape"]
      }
  );

imagen

LucasMontero commented 1 year ago

The problematic doens't appear at 2.5.0 as is commented in #1149

Duplicate of #708