Open bilalsaeed opened 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)
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
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)