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.36k stars 1.08k forks source link

Rendering issue #1115

Open bilalsaeed opened 5 years ago

bilalsaeed commented 5 years ago

I am facing following issue.

My code:

$http({ method: "GET", url: "https://pivottable.js.org/examples/mps.json", data: { } }).then(function mySucces(response) { $("#output").pivotUI(response.data, { rows: ["PLAN_ID"], cols: ["EMPLOYEE_ID"], aggregatorName: "Integer Sum", vals: ["Age"], rendererName: "Heatmap", rendererOptions: { table: { clickCallback: function (e, value, filters, pivotData) { var names = []; pivotData.forEachMatchingRecord(filters, function (record) { names.push(record.Name); }); alert(names.join("\n")); } } } }); });

Dataset: https://pivottable.js.org/examples/mps.json

(https://user-images.githubusercontent.com/9278160/57523335-25272600-733e-11e9-82df-02a8d519d726.png)

karinepires6 commented 5 years ago

Hi, did you fix your problem? because I'm dealing with almost the same problem and I don't know why this is happening and how to fix.

Look at this, https://imgur.com/a/LIufNmM