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

Renaming and localization of fields names in UI #492

Open PhantomYdn opened 8 years ago

PhantomYdn commented 8 years ago

It's pretty common situation to have non human-readable field names within JSON. Primary because to reduce JSON size field name might be represented as shorten name.

So it will be really cool to have ability to specify how JSON field names should be represented in UI. For example replace simple 'name', by 'Customer Name' and so on. Also it might be usable to provide localized field names.

If you think that this feature will be quite usable: please write +1 in this issue: as discussed in #490 Nicolas doesn't think that it's valid use case.

nicolaskruchten commented 8 years ago

(to be fair, I never said it's "not a valid use case", I said it was an uncommon one :)

nicolaskruchten commented 7 years ago

Here's a cheap way to do it without adding a new parameter: http://nicolas.kruchten.com/pivottable/examples/mps_rename.html