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.33k stars 1.07k forks source link

Dynamically changing Row and Column values of pivottable.js output chart #1335

Open Russell-Manifold opened 1 year ago

Russell-Manifold commented 1 year ago

I am hoping this is the correct platform to post this.

I have an asp .net app which is used as a reporting platform. Currently, I have managed to bind the pivot table and chart (pivottable.js) to a variable Json data source, which is working hassle free.

To enable greater flexibility, I would like to dynamically change the rows: col: vals: & aggregatorName: values from the C# Server Side code as opposed to hard coding the values as in my code below.

My aspx page code (working) is as follows: ` Githubissues.

  • Githubissues is a development platform for aggregating issues.